upleb.uk

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

summaryrefslogtreecommitdiff
path: root/runtime/test/allocator_proxy_test.cpp
diff options
context:
space:
mode:
authorKanameS <nk23a4@gmail.com>2026-11-22 13:04:28 +0700
committerKanameS <nk23a4@gmail.com>2026-11-22 13:04:28 +0700
commit09cfe2e8547a48d0f06925529421693fcbb35d19 (patch)
tree2b8094f315c230e2792ac4722c391f50a1e0a1be /runtime/test/allocator_proxy_test.cpp
parent43d470316ec6cbcd64002bc3792998d9f5745dac (diff)
rpf9_names: skip Bink 2 videos whole and keep inflation inside the --limit window
scan_archive() stepped three bytes past a KB2 signature and went on looking for zlib headers inside the video body, so a stream embedded in a video was reported with its names and the video's bytes were counted as zero padding or unread. It now applies rpf9_carve.py's header test (length at +4, width and height at +0x14) and skips a plausible video whole, counted in the new bink2_files and bink2_bytes summary keys. The inflate loop was bounded by the file size, not by the scan window, so a stream crossing the end of a --limit window was still reported with a stored size larger than the span. It is bounded by the window now, as in rpf9_carve.py. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Diffstat (limited to 'runtime/test/allocator_proxy_test.cpp')
0 files changed, 0 insertions, 0 deletions