commit | 9e012423869e1efbae3762b87ceab509027231c9 | [log] [tgz] |
---|---|---|
author | Phillip Lougher <phillip@squashfs.org.uk> | Wed Sep 04 02:58:12 2013 +0100 |
committer | Phillip Lougher <phillip@squashfs.org.uk> | Fri Sep 06 04:57:54 2013 +0100 |
tree | dd451cda9f1a82f6ea83c645807bb459c51b4bf8 | |
parent | f960cae5357d8e52b8af91e8b1621cae565dffb3 [diff] |
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 <phillip@squashfs.org.uk>