From: Phillip Lougher Date: Wed, 4 Sep 2013 01:58:12 +0000 (+0100) Subject: Squashfs: add corruption check for type in squashfs_readdir() X-Git-Tag: v3.12-rc1~55^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9e012423869e1efbae3762b87ceab509027231c9;p=pandora-kernel.git Squashfs: add corruption check for type in squashfs_readdir() We read the type field from disk. This value should be sanity checked for correctness to avoid an out of bounds access when reading the squashfs_filetype_table array. Signed-off-by: Phillip Lougher --- Reading git-diff-tree failed