summaryrefslogtreecommitdiff
path: root/lib/compat/mockups.c
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2021-08-22 13:40:12 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2021-08-22 13:44:51 +0200
commit0d2125014c22caf55b0e5f3cfe11aa516cd6c2e3 (patch)
treefc57c9e551b69254fb24b9662b370c1dbb2dfea0 /lib/compat/mockups.c
parentdc694ae0191ed50b7d5aea508e0f5207ba2b452a (diff)
Tighten bounds checks in sqfs_dir_reader_reader
Use the same size check as sqfs_dir_reader_open_dir and report EOF, even if it is possible to read the header itself, but nothing beyond that. Also check if it should be possible to read an entry header before attempting and report EOF if not. Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'lib/compat/mockups.c')
0 files changed, 0 insertions, 0 deletions