Skip to content

bugfix(gui): Prevent null pointer dereference in GadgetPushButton message sending#504

Merged
x64-dev merged 1 commit intomainfrom
seer/bugfix/gadget-pushbutton-null-owner-check
May 7, 2026
Merged

bugfix(gui): Prevent null pointer dereference in GadgetPushButton message sending#504
x64-dev merged 1 commit intomainfrom
seer/bugfix/gadget-pushbutton-null-owner-check

Conversation

@seer-by-sentry
Copy link
Copy Markdown

@seer-by-sentry seer-by-sentry Bot commented May 7, 2026

Fixes CLIENT-22Y. The issue was that: MainMenuSystem buttons lack owner, causing null pointer dereference in winSendSystemMsg during mouse-entering event.

  • Added null checks for instData->getOwner() before sending system messages (e.g., GBM_MOUSE_ENTERING, GBM_MOUSE_LEAVING, GGM_LEFT_DRAG, GBM_SELECTED, GBM_SELECTED_RIGHT).
  • Prevents potential crashes or undefined behavior if the owner window is null when attempting to send a message.

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

Not quite right? Click here to continue debugging with Seer.

@seer-by-sentry seer-by-sentry Bot requested a review from x64-dev May 7, 2026 22:01
@x64-dev x64-dev marked this pull request as ready for review May 7, 2026 22:02
@x64-dev x64-dev merged commit 2f98875 into main May 7, 2026
5 checks passed
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.

1 participant