Olympus: harden GameSave read results #9

Merged
bmjask merged 2 commits from upstream-pr/10 into main 2026-11-21 17:27:26 +00:00
bmjask commented 2026-11-21 17:06:56 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by bmjask on 2026-11-21T17:06:56Z.


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.

<!-- greyfinch-sync:ivall/xcl:issue:6531864157 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/10). Originally posted by [bmjask](https://github.com/bmjask) on 2026-11-21T17:06:56Z. --- ## 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.
upstream-sync closed this pull request 2026-11-24 06:56:43 +00:00
ivall commented 2026-11-24 07:00:17 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by ivall on 2026-11-21T17:27:28Z.


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

<!-- greyfinch-sync:ivall/xcl:comment:7066496000 --> Imported from [ivall/xcl](https://github.com/ivall/xcl/pull/10#issuecomment-7066496000). Originally posted by [ivall](https://github.com/ivall) on 2026-11-21T17:27:28Z. --- Thanks – merged. Good catch on keeping the result for the retry after a too-small buffer.
Sign in to join this conversation.
No reviewers
No labels
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.

Reference
xcl-dev/xcl!9
No description provided.