xfs
[Top] [All Lists]

[PATCH] fix bad quota inodes in the superblock causing xfs_repair to cra

To: <xfs@xxxxxxxxxxx>
Subject: [PATCH] fix bad quota inodes in the superblock causing xfs_repair to crash
From: "Barry Naujok" <bnaujok@xxxxxxxxxxxxxxxxx>
Date: Tue, 20 Feb 2007 18:59:12 +1100
Cc: <xfs-dev@xxxxxxxxxxxx>
Sender: xfs-bounce@xxxxxxxxxxx
Thread-index: AcdUxQHU5S69ZrcKTfu1Zzy+5b+lCA==
Thanks to Eric for generating bad images with fsfuzzer, bad quota inode
values in the superblock caused xfs_repair to segfault. The patch checks the
validity of the inodes before doing an internal lookup which assumes the
numbers are valid before being called.

Attachment: bad_quota_ino_crash.diff
Description: Binary data

<Prev in Thread] Current Thread [Next in Thread>