diff options
author | Theodore Ts'o <tytso@mit.edu> | 2009-01-16 11:13:47 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-02-02 09:53:24 -0800 |
commit | 1fabb05a03cec301e40fbe5c8036c839b983c350 (patch) | |
tree | 2d34960148ec71f1c495787fdd80d39d2a0f972f /lib/locking-selftest-wlock-hardirq.h | |
parent | e11aab2d66df7c69df336d0f06f61b6a6050ca68 (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/locking-selftest-wlock-hardirq.h')
0 files changed, 0 insertions, 0 deletions