fsck.hfs segfaults if partition < 32 MB

Bug #912063 reported by michael
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
hfsprogs (Ubuntu)
New
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.

Revision history for this message
michael (reeves-87) wrote :
Revision history for this message
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.

Revision history for this message
John Paul Adrian Glaubitz (glaubitz) wrote :

hfsprogs has been updated to 540.1.linux3-1 and is now available in the development version of Ubuntu.

Please see if that fixes your problem.

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.