Files
mandy/runtime/shims
Pixel-Katana 681847c7c3 d3d12_xs_rootsig: accept an all-zero checksum and keep the fail-closed chunk table
b95925cbf (all-zero checksum accepted, as host d3d12.dll does) and c297bb577/5c3487a94 (strict checksum,
fail closed on a malformed chunk table) changed copy_rts0_blob_clear_xbox_flags in parallel. Merge 1e029d6df
kept the strict early checksum from one and the loop from the other, so:

- an all-zero-checksum Xbox blob was rejected before the zero-aware check ran: root_sig_test fails on main
  ("blob helper rewrites an all-zero-checksum Xbox blob and keeps its zero checksum", "shim deserializer
  accepts an all-zero-checksum Xbox blob with the high byte cleared");
- the chunk loop skipped malformed entries instead of failing, dropped the RTS0 version check, and left
  min_chunk_off unused.

The function now has 5c3487a94's fail-closed chunk walk and RTS0 version check, with b95925cbf's rule: an
all-zero checksum is accepted and stays zero after the rewrite; any other checksum must match. The duplicate
total_size and checksum checks inside the loop are gone.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 19:44:57 -06:00
..
2026-11-23 18:53:28 +01:00
2026-11-23 17:07:14 -05:00