fsck.hfs segfaults if partition < 32 MB

Bug #912063 reported by michael on 2012-01-04
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
hfsprogs (Ubuntu)
Undecided
Unassigned

Bug Description

To reproduce the error.
1) create an hfs partition < 32MB, I was using gparted .10 to do this but it shouldn't matter as long as the size is below this threshold.
2) run fsck.hfs -f -y <partition path> . where <partition path> is the path to the partition.
segfaults every time
'
I rebuilt hfsprogs from source with debug information and ran gdb to get a back-trace the output is attached.

michael (reeves-87) wrote :
michael (reeves-87) wrote :

hcreate is the application responsible for actually creating the hfs file system. Do to a bug in this program file systems that an even power of two in size are created damaged. So this may be case of a missing error check.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Bug attachments