Skip to content

bugfix(gui): Prevent null pointer dereference when checking child window tooltips#441

Open
seer-by-sentry[bot] wants to merge 1 commit intomainfrom
seer/bugfix/gui-tooltip-null-check
Open

bugfix(gui): Prevent null pointer dereference when checking child window tooltips#441
seer-by-sentry[bot] wants to merge 1 commit intomainfrom
seer/bugfix/gui-tooltip-null-check

Conversation

@seer-by-sentry
Copy link
Copy Markdown

Fixes CLIENT-47G. The issue was that: GameWindowManager::findWindowUnderMouse dereferences a potentially null childWindow returned by winPointInAnyChild.

  • Added a null check for 'childWindow' before accessing its members ('m_tooltip' or 'm_instData').
  • Prevents potential crashes if 'winPointInAnyChild' returns 'nullptr' when determining tooltip visibility.

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

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