Olympus: harden GameSave read results #10

Manually merged
github merged 2 commits from gh-pr/10/head into gh-pr/10/base 2026-11-26 04:03:49 +00:00
Owner

@⁠bmjask on GitHub · 2026-11-21 17:06 UTC · original
bmjask:codex/olympus-gamesave-safety → main · +84 −10 · 1 files · 2 commits · merged 2026-11-21 17:27 UTC

Summary

  • validate counted blob-name arrays before dereferencing guest pointers
  • preserve completed GameSave read results when callers retry after an undersized result buffer
  • keep malformed guest inputs contained behind HRESULT failures

Validation

  • focused GameSave tests: 2 passed
  • xcl library tests: 201 passed, 13 ignored, 0 failed

No package protection or DRM behavior is touched.

**@⁠bmjask** on GitHub · 2026-11-21 17:06 UTC · [original](https://github.com/xcl-dev/xcl/pull/10) `bmjask:codex/olympus-gamesave-safety` → `main` · +84 −10 · 1 files · 2 commits · merged 2026-11-21 17:27 UTC ## Summary - validate counted blob-name arrays before dereferencing guest pointers - preserve completed GameSave read results when callers retry after an undersized result buffer - keep malformed guest inputs contained behind HRESULT failures ## Validation - focused GameSave tests: 2 passed - xcl library tests: 201 passed, 13 ignored, 0 failed No package protection or DRM behavior is touched.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 04:03:48 +00:00
github manually merged commit d0d30629f5 into gh-pr/10/base 2026-11-26 04:03:49 +00:00
Author
Owner

@⁠ivall on GitHub · 2026-11-21 17:27 UTC · original

Thanks – merged. Good catch on keeping the result for the retry after a too-small buffer.

**@⁠ivall** on GitHub · 2026-11-21 17:27 UTC · [original](https://github.com/xcl-dev/xcl/pull/10#issuecomment-7066496000) Thanks – merged. Good catch on keeping the result for the retry after a too-small buffer.
This discussion has been locked. Commenting is limited to contributors.
No description provided.