Repository navigation
Validate repeated BC7 dictionary widths - #2665
luckyteagirl wants to merge 1 commit into
Conversation
|
Independent native Windows CPU verification at Windows 11 Pro build 26200, Ryzen 7 5700X3D, Python 3.11.9. In synthetic CLI controls, the parent accepted both repeated-width mismatches and rewrote the destination. The head rejected mismatches in both width-byte positions and preserved destination bytes and modification time in all four failure runs. A valid input produced byte-identical output at both revisions. Cargo, GPU and retail smoke were outside this run. AI use: Codex (gpt-6.2-sol) wrote and ran the synthetic checks and drafted this report. |
BC7 dictionary entries 1–254 repeat their index widths before the indices. The table generator discarded the copy, so an input with inconsistent widths could overwrite the generated table and exit successfully. Entry 0 uses that position for its first index. Layout reference
What is in it
Tested
b49be183because the generator accepted the mismatch.python -B -m unittest discover -s scripts -p 'test_*.py': 26 passed, 0 failed, 0 skipped on Windows with Python 3.11.1e548501764588b06e2ed47aa7fed263cd797f3bwith both versions and verified byte-identical output.git diff --checkpassed.Regression run
Not tested
AI use