diff options
| author | bbareth <179921368+BBareth@users.noreply.github.com> | 2026-11-22 01:55:59 +0100 |
|---|---|---|
| committer | bbareth <179921368+BBareth@users.noreply.github.com> | 2026-11-22 01:55:59 +0100 |
| commit | a67d215b2c1f36edd500e466bd2de5f2806dbe4c (patch) | |
| tree | a345b3000a7d727c8a4f0d0260da3b7b0e56033e /runtime/src/pe_loader.cpp | |
| parent | 91b36cf86cb92a95836eed8af73abc0671a61e31 (diff) | |
fssm_header.py: a missing path is one line, and --limit can't be negative
files_of() treated anything that is not a file as a folder, so a
missing path ended in a FileNotFoundError traceback. --limit was a
plain int used as paths[:limit], so --limit -1 silently dropped the
last blob and --limit -5 the last five, reported as a normal tally.
The path is now checked first (exit 2, one line), and --limit must be
0 or more (an argparse error otherwise).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/src/pe_loader.cpp')
0 files changed, 0 insertions, 0 deletions