diff options
| author | Phillip Lougher <phillip@squashfs.org.uk> | 2013-09-04 02:58:12 +0100 |
|---|---|---|
| committer | Mister Oyster <oysterized@gmail.com> | 2017-04-11 11:00:16 +0200 |
| commit | bb0b7aaf4f446410b28a9e3c07544a2ea70aee75 (patch) | |
| tree | 6e5f1590784d944305b5be9e6ec6cc69a1a9c3f9 /fs/squashfs/decompressor.h | |
| parent | a43606512c6228834f4ce9682d615cd46a20fadf (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>
Change-Id: I0df14ce631a38af3f5920f604e727e88812dcffc
Diffstat (limited to 'fs/squashfs/decompressor.h')
0 files changed, 0 insertions, 0 deletions
