Skip to content

Render2D: Add vertex data array size validation to prevent buffer overflows - #87

Open
seer-by-sentry[bot] wants to merge 1 commit into
mainfrom
seer/render2d-array-validation
Open

Render2D: Add vertex data array size validation to prevent buffer overflows#87
seer-by-sentry[bot] wants to merge 1 commit into
mainfrom
seer/render2d-array-validation

Conversation

@seer-by-sentry

Copy link
Copy Markdown

Fixes CLIENT-JJ. The issue was that: Write access violation caused by vertex buffer size mismatch during copy, leading to memory corruption.

  • Added validation to ensure vertex, UV coordinate, and color arrays have consistent sizes.
  • If array sizes are inconsistent, a WWASSERT is triggered, the rendering is reset, and the function returns to prevent corrupted data.

This fix was generated by Seer in Sentry, triggered automatically. 👁️ Run ID: 2042119

Not quite right? Click here to continue debugging with Seer.

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.

0 participants