summaryrefslogtreecommitdiff
path: root/lib/fstree/get_by_path.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:45:15 +0200
commit3ef7c3bb37e40de2653daf306e8bcb2a87446271 (patch)
tree8e5e21087e2b61bf7b3f0626afeccfbc30f8541a /lib/fstree/get_by_path.c
parent93f17ac5382be1102151fe1322ce90e85665e161 (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/fstree/get_by_path.c')
0 files changed, 0 insertions, 0 deletions