[PR #901] [CLOSED] make_game: read XvcDataLength as 64-bit (XVD-DATALEN-64) #939

Closed
opened 2026-11-26 20:19:33 +01:00 by 4ld0 · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ubiquitarianism/leonida/pull/901
Author: @morodirule
Created: 11/24/2026
Status: ❌ Closed

Base: main ← Head: fix/xvd-datalen-64


📝 Commits (1)

  • 7d944bf make_game: read XvcDataLength as 64-bit (XVD-DATALEN-64)

📊 Changes

2 files changed (+8 additions, -2 deletions)

View changed files

📝 make_game.py (+1 -1)
📝 tests/test_make_game_container.py (+7 -1)

📄 Description

Claimed in the coordination issue as: XVD-DATALEN-64

Carries abnalstlll-byte's finding: xvd_header() read XvcDataLength (file offset 0x290) with <I, but the field is a 64-bit <Q. Reproduced: a synthetic header with length 0x1_0000_0000 reported kind XVD on main; with <Q it reports XVC.

Change: make_game.py reads <Q; the synthetic xvd_bytes() helper in tests/test_make_game_container.py writes <Q; new test_a_length_above_4gib_stays_an_xvc covers 0x1_0000_0001 and low-32-zero 0x1_0000_0000.

Tests: python -I tests/test_make_game_container.py 16/16 OK; test_make_game_preflight.py OK (1 skipped, pre-existing); check_no_game_data.py PASS. Stdlib only, synthetic bytes. No game files, no GPU, nothing online.

AI-assisted.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ubiquitarianism/leonida/pull/901 **Author:** [@morodirule](https://github.com/morodirule) **Created:** 11/24/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `fix/xvd-datalen-64` --- ### 📝 Commits (1) - [`7d944bf`](https://github.com/ubiquitarianism/leonida/commit/7d944bf4f80ea24dc2c6f25580e9f0f6514c63e0) make_game: read XvcDataLength as 64-bit (XVD-DATALEN-64) ### 📊 Changes **2 files changed** (+8 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `make_game.py` (+1 -1) 📝 `tests/test_make_game_container.py` (+7 -1) </details> ### 📄 Description Claimed in the coordination issue as: XVD-DATALEN-64 Carries abnalstlll-byte's finding: xvd_header() read XvcDataLength (file offset 0x290) with <I, but the field is a 64-bit <Q. Reproduced: a synthetic header with length 0x1_0000_0000 reported kind XVD on main; with <Q it reports XVC. Change: make_game.py reads <Q; the synthetic xvd_bytes() helper in tests/test_make_game_container.py writes <Q; new test_a_length_above_4gib_stays_an_xvc covers 0x1_0000_0001 and low-32-zero 0x1_0000_0000. Tests: python -I tests/test_make_game_container.py 16/16 OK; test_make_game_preflight.py OK (1 skipped, pre-existing); check_no_game_data.py PASS. Stdlib only, synthetic bytes. No game files, no GPU, nothing online. AI-assisted. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
4ld0 2026-11-26 20:19:33 +01:00
Sign in to join this conversation.
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
starred/leonida#939
No description provided.