I don't know how to interpret _sbin_fsck.vfat.1000.crash.gz, so I can't
confirm that the crashes that I saw are the same, but this patch
resolves the few crashes that I saw with upstream dosfstools-2.11 due to
zero slot numbers causing a negative offset in the call to copy_lfn_part
in lfn_add_slot.  On amd64 this results in a SIGSEGV in copy_lfn_part.
On x86 the result is heap corruption and thus sometimes a SIGSEGV or
double free abort later.

** Attachment added: "handle zero slot sequence number in lfn_add_slot"
   http://launchpadlibrarian.net/15635758/dosfsck-lfn-3.diff

-- 
fsck crashes checking external FAT drive
https://bugs.launchpad.net/bugs/113919
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to