Skip to content

RankPoints: Add safety checks for potentially corrupted TheGameSpyConfig pointer - #69

Draft
seer-by-sentry[bot] wants to merge 1 commit into
mainfrom
seer/fix-gamespyconfig-pointer
Draft

RankPoints: Add safety checks for potentially corrupted TheGameSpyConfig pointer#69
seer-by-sentry[bot] wants to merge 1 commit into
mainfrom
seer/fix-gamespyconfig-pointer

Conversation

@seer-by-sentry

Copy link
Copy Markdown

Fixes CLIENT-EZ. The issue was that: Global pointer TheGameSpyConfig corrupted to 0x4 during asynchronous network callback, causing read access violation on virtual function call.

  • Implements a helper function IsGameSpyConfigValid() to check if TheGameSpyConfig is a valid pointer before dereferencing it.
  • Adds a try-catch block to handle potential access violations when accessing TheGameSpyConfig.
  • Uses default hardcoded values if TheGameSpyConfig is invalid or an exception occurs.

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

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