diff options
author | Theodore Ts'o <tytso@mit.edu> | 2009-01-16 11:13:47 -0500 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2009-01-16 11:13:47 -0500 |
commit | a21102b55c4f8dfd3adb4a15a34cd62237b46039 (patch) | |
tree | 270f663b46460ee6055073fe862b4ec68ee47bbd /include/linux/jbd2.h | |
parent | e6b8bc09ba2075cd91fbffefcd2778b1a00bd76f (diff) | |
download | kernel_samsung_smdk4412-a21102b55c4f8dfd3adb4a15a34cd62237b46039.zip kernel_samsung_smdk4412-a21102b55c4f8dfd3adb4a15a34cd62237b46039.tar.gz kernel_samsung_smdk4412-a21102b55c4f8dfd3adb4a15a34cd62237b46039.tar.bz2 |
ext3: Add sanity check to make_indexed_dir
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>
Cc: stable@kernel.org
Diffstat (limited to 'include/linux/jbd2.h')
0 files changed, 0 insertions, 0 deletions