diff options
author | Theodore Ts'o <tytso@mit.edu> | 2009-02-17 10:58:42 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-02-20 14:37:20 -0800 |
commit | fcc8a1931d3a0b7eeb875a9e5eb2e0ea7f32ce8a (patch) | |
tree | fa8d111cb79540518b0519098ed13fe371b36ab6 /include | |
parent | d5f85db686df375bd39168bd0032c4be6863f35c (diff) |
ext4: Add sanity check to make_indexed_dir
(cherry picked from commit e6b8bc09ba2075cd91fbffefcd2778b1a00bd76f)
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.
Thanks to Sami Liedes for reporting this bug.
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 'include')
0 files changed, 0 insertions, 0 deletions