Squashfs: add corruption check for type in squashfs_readdir()
authorPhillip Lougher <phillip@squashfs.org.uk>
Wed, 4 Sep 2013 01:58:12 +0000 (02:58 +0100)
committerPhillip Lougher <phillip@squashfs.org.uk>
Fri, 6 Sep 2013 03:57:54 +0000 (04:57 +0100)
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 <phillip@squashfs.org.uk>

No differences found