upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/src/pe_loader.cpp
diff options
context:
space:
mode:
authoreIBart0 <eIBart0@users.noreply.github.com>2026-11-22 00:44:10 +0000
committereIBart0 <eIBart0@users.noreply.github.com>2026-11-22 00:44:10 +0000
commit16b4d32e9c24c8b087b11e9248e79d5facacf359 (patch)
treed3343af9277b8a41717262edd03c1a1ecf5f49f3 /runtime/src/pe_loader.cpp
parent91b36cf86cb92a95836eed8af73abc0671a61e31 (diff)
restofworld_index.py: validate directory options, enforce --max-inflate in scan_dir, and close mmap with context manager
Follow-up to #498 and #530 (claimed in #374): - Reject --start and --limit when source is a directory (exit code 2 via ap.error). - Pass --max-inflate to scan_dir() and skip .bin files larger than max_inflate, incrementing skipped_candidates. - Wrap mmap.mmap() in scan_rpf() with a context manager so out-of-range start errors always close the mapping. - Add unit tests covering all three fixes.
Diffstat (limited to 'runtime/src/pe_loader.cpp')
0 files changed, 0 insertions, 0 deletions