From: Theodore Ts'o Date: Tue, 17 Feb 2009 15:58:42 +0000 (-0500) Subject: ext4: Add sanity check to make_indexed_dir X-Git-Tag: v2.6.27.19~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fcc8a1931d3a0b7eeb875a9e5eb2e0ea7f32ce8a;p=pandora-kernel.git 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" Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed