[Bug 230175] New: xfs_db segfaults when the device doesn't contain an xfs filesystem
https://bugzilla.novell.com/show_bug.cgi?id=230175 Summary: xfs_db segfaults when the device doesn't contain an xfs filesystem Product: openSUSE 10.3 Version: unspecified Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: mmarek@novell.com ReportedBy: mmarek@novell.com QAContact: qa@suse.de CC: nathans@sgi.com # dd if=/dev/zero of=zero count=1 1+0 records in 1+0 records out 512 bytes (512 B) copied, 0.000137 s, 3.7 MB/s # xfs_db zero xfs_db: unexpected XFS SB magic number 0x00000000 xfs_db: read failed: Invalid argument xfs_db: data size check failed Segmentation fault (core dumped) # xfs_db -V xfs_db version 2.8.16 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=230175 ------- Comment #1 from mmarek@novell.com 2006-12-21 03:13 MST ------- Created an attachment (id=110660) --> (https://bugzilla.novell.com/attachment.cgi?id=110660&action=view) xfsprogs-2.8.16-xfs_db-crash-on-invalid-fs.diff patch to disable some debugging code that causes a null pointer dereference. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=230175 mmarek@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=230175 bnaujok@sgi.com changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #110660|0 |1 is obsolete| | ------- Comment #2 from bnaujok@sgi.com 2007-02-07 16:25 MST ------- Created an attachment (id=117972) --> (https://bugzilla.novell.com/attachment.cgi?id=117972&action=view) Fix for segfault for invalid filesystem The attached patch has been pushed into xfsprogs 2.8.17 and addresses the SEGV when specifying an invalid filesystem with xfs_db. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
participants (1)
-
bugzilla_noreply@novell.com