GPU: validate null args in create_deserializer to prevent d3d12 AV and add root.rs tests #1206

Manually merged
github merged 1 commit from gh-pr/1206/head into gh-pr/1206/base 2026-11-26 04:23:42 +00:00
Owner

@⁠geiyiliyabumo on GitHub · 2026-11-24 16:25 UTC · original
geiyiliyabumo:test/gpu-root-audit → main · +260 −2 · 1 files · 1 commits · merged 2026-11-25 00:13 UTC

Summary

Closes #1078

Full verification details and change notes are documented in #1078 (commit ef0c3e9, based on main ffe310e).

 crates/victory-gpu/src/root.rs | 262 ++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 260 insertions(+), 2 deletions(-)

Verification (Windows 11 x64 MSVC)

  • rustfmt --edition 2024 --check on edited files: PASS
  • cargo xtask policy: PASS (zero game files/data)
  • cargo clippy --all-targets --locked -- -D warnings (default + --features diagnostics where applicable): PASS
  • Targeted & crate unit/GPU tests: PASS

AI-assisted; synthetic tests only, no game files.

**@⁠geiyiliyabumo** on GitHub · 2026-11-24 16:25 UTC · [original](https://github.com/Marvisak/VIctory/pull/1206) `geiyiliyabumo:test/gpu-root-audit` → `main` · +260 −2 · 1 files · 1 commits · merged 2026-11-25 00:13 UTC ### Summary Closes #1078 Full verification details and change notes are documented in #1078 (commit `ef0c3e9`, based on `main` `ffe310e`). ```text crates/victory-gpu/src/root.rs | 262 ++++++++++++++++++++++++++++++++++++++++- 1 file changed, 260 insertions(+), 2 deletions(-) ``` ### Verification (Windows 11 x64 MSVC) - `rustfmt --edition 2024 --check` on edited files: **PASS** - `cargo xtask policy`: **PASS** (zero game files/data) - `cargo clippy --all-targets --locked -- -D warnings` (default + `--features diagnostics` where applicable): **PASS** - Targeted & crate unit/GPU tests: **PASS** *AI-assisted; synthetic tests only, no game files.*
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 04:23:40 +00:00
github manually merged commit ef0c3e9449 into gh-pr/1206/base 2026-11-26 04:23:42 +00:00
Author
Owner

@⁠Zipettte on GitHub · 2026-11-24 18:00 UTC · original

Tested on AMD Radeon RX 7700 XT (RDNA3, gfx1101), driver 32.0.32029.2010, Windows 11, Rust 1.98.1 MSVC at ef0c3e9: cargo test -p victory-gpu passes, 58 passed / 0 failed. Workspace baseline on main (ffe310e) is green on the same machine (342 passed).

Tested with AI assistance (Claude).

**@⁠Zipettte** on GitHub · 2026-11-24 18:00 UTC · [original](https://github.com/Marvisak/VIctory/pull/1206#issuecomment-7140013184) Tested on AMD Radeon RX 7700 XT (RDNA3, gfx1101), driver 32.0.32029.2010, Windows 11, Rust 1.98.1 MSVC at ef0c3e9: `cargo test -p victory-gpu` passes, 58 passed / 0 failed. Workspace baseline on main (ffe310e) is green on the same machine (342 passed). _Tested with AI assistance (Claude)._
This discussion has been locked. Commenting is limited to contributors.
No reviewers
No milestone
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
github/Marvisak--VIctory!1206
No description provided.