Skip to content

[upstream #1785] DirectStorage: validate request sizes before allocation - #349

Open
ufoptg wants to merge 1 commit into
mainfrom
upstream-pr/1785
Open

ufoptg wants to merge 1 commit into
mainfrom
upstream-pr/1785

Conversation

@ufoptg

@ufoptg ufoptg commented Nov 25, 2026

Copy link
Copy Markdown
Owner

Summary

  • Validate DirectStorage request sizes before allocation.
  • Use fallible allocations for source, zlib, and BCPack buffers.
  • Propagate allocation failures as E_OUTOFMEMORY.
  • Validate file bounds before reading.

Tested

  • git diff --check passed.

Not tested

  • Targeted Cargo tests were blocked by Windows Application Control
    (error 4551).
  • GPU validation and real-title regression testing were not run.
  • The proposed 256 MiB request ceiling needs compatibility review.

AI use

AI assistance was used to implement and review these changes.


Mirror of xcl-dev#1785 (auto-synced, do not edit).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants