diff options
| author | VictorJulianiR <juliani_rodrigues@hotmail.com> | 2026-11-21 21:00:44 -0300 |
|---|---|---|
| committer | VictorJulianiR <juliani_rodrigues@hotmail.com> | 2026-11-21 21:00:44 -0300 |
| commit | 183426f261152926ca37c7d5030c9e6e19019492 (patch) | |
| tree | 0b0068c9a9ed99961d1690023379db002039b57e /runtime/src/pe_loader.cpp | |
| parent | 4abd54571b6efa02d97eda4711792fa00b455dc3 (diff) | |
ttpf_mips.py: name a bad pool instead of a traceback, and close it
A truncated or unsupported .ttpf raised ValueError from Pool() after the
file was opened and mapped, without closing either, so the pool stayed
locked on Windows. Nothing caught it: one bad pool stopped `scan` with a
traceback and no report, and layout/check/export ended the same way, as
did an index past the pool (IndexError).
Pool() now closes what it opened when a check fails, and every command
prints one line that names the pool (or the valid index range) and exits
with 2. Tests build the pools by hand.
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