aboutsummaryrefslogtreecommitdiff
path: root/lib/debugobjects.c
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2009-01-16 11:13:47 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2009-02-02 08:28:13 -0800
commit6d3910dec56c78543e35550fad433366047e6878 (patch)
tree9078546be66f3fc3433aa739895c39457003602c /lib/debugobjects.c
parenta0aec447b8076f10f0f46433f20ad3fa32e2c500 (diff)
ext3: Add sanity check to make_indexed_dir
commit a21102b55c4f8dfd3adb4a15a34cd62237b46039 upstream. Make sure the rec_len field in the '..' entry is sane, lest we overrun the directory block and cause a kernel oops on a purposefully corrupted filesystem. This fixes a bug related to a bug originally reported by Sami Liedes for ext4 at: http://bugzilla.kernel.org/show_bug.cgi?id=12430 Signed-off-by: "Theodore Ts'o" <tytso@mit.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions