[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1032223: fbb: Segmentation fault when listing subdirectories using FBBDOS



I’ve now dug into this a little further.

On closer inspection, it appeared that the ‘st’ structure in ibm.c:format_ffblk wasn’t being populated with data at all.

This turned out to be due to debian/patches/05-fix-compile-warnings which, amongst other changes, removes line 208 " ret = lstat (filename, &st);” from ibm.c.

Reversing that patch allows a working package to be built without overriding CFLAGS, and the DIR command works as expected returning correct file sizes and modification time stamps.

—
Mike Quin

Attachment: signature.asc
Description: Message signed with OpenPGP


Reply to: