OLD-10040: bink_index: validate frame offsets within each stored stream #1022
No reviewers
No assignees
Labels
No labels
bug
dependencies
documentation
enhancement
missing claim
needs rebase
needs-triage
question
ready-for-agent
submodules
No project
No milestone
Dependencies
No dependencies set
Notifications
1 participant
Due date
No due date set.
Reference
leonida/mandy!1022
Loading…
Reference in a new issue
No description provided.
Delete branch "carry/old-10040-bink-index-validate"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Pull request successfully merged and closed
Claimed in the coordination issue as: OLD-10040
What and why
Carries forward
old-pr/10040(draft #305) rebased onto currentmain:tools/bink_index.py.docs/movies.md.tests/test_bink_index.py.Original commit preserved:
Tiller431 <22901311+Tiller431@users.noreply.github.com>.Tested
python -I tests/test_bink_index.py: 41/41 passedpython -I scripts/check_no_game_data.py tools/bink_index.py tests/test_bink_index.py docs/movies.md: passed (no game data)python -I tests/test_text_write_line_endings.py: passedpython -m compileall -q make_game.py tools tests: cleanGPUs tested: n/a
AI-assisted: yes
Checklist
mainand merges cleanly (a conflicting pull request is labeledneeds rebase).docs/design.md, with how it was confirmed: n/a (no translator rule).Reviewed 77df8717:
ran
tests/test_bink_index.pyin the sandbox (41 OK on PR; 34 OK on main, 46 errors with PR's tests on main),test_bink_names/test_report_source_collision/test_csv_line_endingsOK on both trees, doc tests OK, andcheck_no_game_data.pyclean.frame_index_error()matches the documented canonical Bink 2 layout and exits 2before writing on bad tables or unsupported revisions. Non-blocking note:
parse_header()'s pre-existing0x2Cfallback for
i/j/k/nis untracked; if strictness is ever wanted, refuse fallback layouts in a follow-up.AI-assisted review.
Recommendation: Merge
Verified by OreoFR
5cb45921e+ PR head77df8717apython -I tests/test_bink_index.pyAI-assisted (Claude Code, Claude Opus 5.5).
Merged after OreoFR's red/green check (check) (RTX 4070 Laptop, driver 621.40, Windows 11) and a local re-check here. Merged after local re-verification: this PR merged onto
maine4933c33d without conflict, and its test file(s) (tests/test_bink_index.py) pass there. Earlier today the same tests failed onmainwithout the PR (red/green) and a bundle with other open PRs showed no new failures.check_no_game_data.pyis clean. Windows 11, Python 3.14; no GPU needed for these tests.AI-assisted (Claude Code, Claude Opus 5.5), merged for MoonEyes.