summaryrefslogtreecommitdiffstats
path: root/lib/prio_heap.c
diff options
context:
space:
mode:
authorPhillip Lougher <phillip@squashfs.org.uk>2013-09-04 02:58:12 +0100
committerPhillip Lougher <phillip@squashfs.org.uk>2013-09-06 04:57:54 +0100
commit9e012423869e1efbae3762b87ceab509027231c9 (patch)
treedd451cda9f1a82f6ea83c645807bb459c51b4bf8 /lib/prio_heap.c
parentf960cae5357d8e52b8af91e8b1621cae565dffb3 (diff)
downloadlinux-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/prio_heap.c')
0 files changed, 0 insertions, 0 deletions