Skip to content

Fix: Add null checks for Coord3D pointers to prevent crashes - #78

Open
seer-by-sentry[bot] wants to merge 1 commit into
mainfrom
seer/null-coord3d-checks
Open

Fix: Add null checks for Coord3D pointers to prevent crashes#78
seer-by-sentry[bot] wants to merge 1 commit into
mainfrom
seer/null-coord3d-checks

Conversation

@seer-by-sentry

Copy link
Copy Markdown

Fixes CLIENT-GS. The issue was that: Special power configured to create a view object was executed without a location, causing Thing::setPosition to crash due to missing null pointer validation.

  • Added null pointer checks for Coord3D pointers in SpecialPowerModule::createViewObject and Thing::setPosition to prevent potential crashes due to dereferencing null pointers.
  • Added a debug crash message in Thing::setPosition when a null position pointer is detected.

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

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