diff options
| author | SuarezPM <SuarezPM@users.noreply.github.com> | 2026-11-21 17:31:08 -0300 |
|---|---|---|
| committer | SuarezPM <SuarezPM@users.noreply.github.com> | 2026-11-21 17:31:08 -0300 |
| commit | 87989cea5f1080dac729d5407aa3fa19cb3f8fd3 (patch) | |
| tree | 83f0812413e3315487fccdda5f6e654f12870001 /runtime/src/main.cpp | |
| parent | ab270f39d6f283975ead43092f0929fe081c2e72 (diff) | |
Parse RTS0 via DXBC chunk walk; fix OOB wrap and FourCC typo
The MS serializer returns a DXBC container, not a bare payload (proven
by the CI blob dump starting with DXBC). parse_rts0 now walks the chunk
table like input_signature does and decodes the RTS0 payload.
Also fixed: 'O' (0x4F) vs '0' (0x30) in the FourCC check, which silently
missed every chunk, and u32 arithmetic wrap in the bounds checks (a hostile
offset could wrap off+8 past the guard into an OOB read).
Adds a hand-built DXBC container test covering the walk path.
Diffstat (limited to 'runtime/src/main.cpp')
0 files changed, 0 insertions, 0 deletions