diff options
| author | cxchhh <35392417+cxchhh@users.noreply.github.com> | 2026-11-22 06:57:44 +0000 |
|---|---|---|
| committer | cxchhh <35392417+cxchhh@users.noreply.github.com> | 2026-11-22 06:57:44 +0000 |
| commit | 67f8a5338da0b356b594bfce5abf14f27fea3ca9 (patch) | |
| tree | f8f4020c1322f1e0b1233f0cda6e55c95f14854b /runtime/test/queue_proxy_test.cpp | |
| parent | eabcb993a752959305fb48f1c70c0c799f1213bf (diff) | |
psin_data: reject block tables that run past the region; read 0x62 enums both ways
Review on #1077 (@kapitche): block sizes came straight from the table, so a
damaged size made the walker allocate gigabytes. block_table now rejects
blocks that end past the first section. Every real container fills the region
exactly, so no counts change.
The same review asked why 0x62 was read as s32. LENM lists values on both
sides of the sign bit for 0x62 enums, so a value now counts as listed under
either reading. Unlisted enum values drop from 31,624 to 827; the 30,577
'hash-like' values in story000_script were this.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/test/queue_proxy_test.cpp')
0 files changed, 0 insertions, 0 deletions