diff options
| author | kotorvr <332716892+kotorvr@users.noreply.github.com> | 2026-11-22 22:18:58 +0000 |
|---|---|---|
| committer | kotorvr <332716892+kotorvr@users.noreply.github.com> | 2026-11-22 22:18:58 +0000 |
| commit | c295b5772c39751cae6bbfdf92138b34a8cfd8ad (patch) | |
| tree | fdeb6501767594fedf10ccf1037d2adfd4ed0c5b /runtime/src/pe_loader.cpp | |
| parent | 0a0e8182c9efe7b8fdc7730900cec6b57ef92cae (diff) | |
rsc8_audio --curves: decode only structurally valid clips; no resource copy
Review on #3591: a clip whose first block size was cut to its header
(valid False) still had its keyframes decoded, and a block grown into
the next block's header passed both. Keyframes are now decoded only
when the clip is valid and no two blocks, or a block and the track
directory, share a byte; otherwise the clip counts as a curve error
("structural checks failed" / "block or track extents overlap").
decode_facial_curves decodes a contiguous view in place instead of
copying the whole resource (a non-contiguous view is still copied).
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