Skip to content

LoadScreen: Add null checks for TheGameEngine, TheWindowManager, TheDisplay, TheNetwork, and TheMouse - #68

Draft
seer-by-sentry[bot] wants to merge 1 commit into
mainfrom
seer/loadscreen-nullchecks
Draft

LoadScreen: Add null checks for TheGameEngine, TheWindowManager, TheDisplay, TheNetwork, and TheMouse#68
seer-by-sentry[bot] wants to merge 1 commit into
mainfrom
seer/loadscreen-nullchecks

Conversation

@seer-by-sentry

Copy link
Copy Markdown

Fixes CLIENT-A9. The issue was that: GameSpyLoadScreen::update unconditionally dereferences the global TheNetwork pointer, causing a fatal 0x0 access violation when TheNetwork is NULL.

  • Added null checks for TheGameEngine, TheWindowManager, and TheDisplay in LoadScreen::update to prevent potential crashes if these objects are not initialized.
  • Added null checks for TheNetwork in GameSpyLoadScreen::update to prevent potential crashes if this object is not initialized.
  • Added null checks for TheMouse in GameSpyLoadScreen::update to prevent potential crashes if this object is not initialized.

This fix was generated by Seer in Sentry, triggered by x64-dev. 👁️ Run ID: 1901588

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