Skip to content
Commit 9e012423 authored by Phillip Lougher's avatar Phillip Lougher
Browse files

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: default avatarPhillip Lougher <phillip@squashfs.org.uk>
parent f960cae5
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment