diff options
author | Phillip Lougher <phillip@squashfs.org.uk> | 2013-09-04 02:58:12 +0100 |
---|---|---|
committer | Phillip Lougher <phillip@squashfs.org.uk> | 2013-09-06 04:57:54 +0100 |
commit | 9e012423869e1efbae3762b87ceab509027231c9 (patch) | |
tree | dd451cda9f1a82f6ea83c645807bb459c51b4bf8 /lib/nlattr.c | |
parent | f960cae5357d8e52b8af91e8b1621cae565dffb3 (diff) | |
download | linux-9e012423869e1efbae3762b87ceab509027231c9.tar.bz2 |
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>
Diffstat (limited to 'lib/nlattr.c')
0 files changed, 0 insertions, 0 deletions