Skip to content

W3DTreeBuffer: Add null check for unit in unitMoved to prevent crashes - #103

Open
seer-by-sentry[bot] wants to merge 1 commit into
mainfrom
seer/fix-unitmoved-null-check
Open

W3DTreeBuffer: Add null check for unit in unitMoved to prevent crashes#103
seer-by-sentry[bot] wants to merge 1 commit into
mainfrom
seer/fix-unitmoved-null-check

Conversation

@seer-by-sentry

Copy link
Copy Markdown

Fixes CLIENT-NQ. The issue was that: W3DTreeBuffer::unitMoved dereferences invalid Object pointer without null check, causing access violation.

Adds a null pointer check for the unit parameter in the W3DTreeBuffer::unitMoved function to prevent potential crashes when an invalid Object pointer is passed to the function.

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

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