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:
authorabilliontokens <abilliontokens@users.noreply.github.com>2026-11-22 03:18:52 -0800
committerabilliontokens <abilliontokens@users.noreply.github.com>2026-11-22 03:18:52 -0800
commit3162124c625be7fedd814b681582b955453e87d0 (patch)
tree8351160034b578a2dfb4aec393b6f037cca05c17 /runtime/src/pe_loader.cpp
parentf85582e23d4ab9e19acbf694358f137d6b8531b1 (diff)
rsc8_audio: accept zero-stream ADAT banks (ASSET-105)
- parse_adat_header_bytes/parse_adat_at_file rejected count == 0 outright, so the validated walk missed audio.rpf's two 20-byte zero-stream banks that the encrypted TOC lists and AwcRecovery.ReadValidated accepts (docs said 7,160 banks vs design.md's 7,162). - A zero-stream bank is now accepted only when the flag-selected tables end exactly at the declared header size; slop, truncation and out-of-bounds stay rejected. - Three synthetic tests (no game bytes); docs/rsc8_audio.md corpus row updated to the re-measured 7,162 banks / 28,505,691,532 bytes with a note on the layout.
Diffstat (limited to 'runtime/src/pe_loader.cpp')
0 files changed, 0 insertions, 0 deletions