Skip to content

Fix: Prevent null dereference when checking sub-object name#349

Open
seer-by-sentry[bot] wants to merge 1 commit intomainfrom
seer/fix/null-check-subobj-name
Open

Fix: Prevent null dereference when checking sub-object name#349
seer-by-sentry[bot] wants to merge 1 commit intomainfrom
seer/fix/null-check-subobj-name

Conversation

@seer-by-sentry
Copy link

Fixes CLIENT-3Q4. The issue was that: strstr received null pointer from RenderObjClass::Get_Name() due to uninitialized sub-object name, causing access violation.

  • Added a null check for the return value of RenderObjClass::Get_Name() before passing it to strstr.
  • Prevents potential crashes if Get_Name() returns a null pointer.

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

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