Skip to content

GUI: Prevent crashes when slider thumb button is missing - #56

Merged
x64-dev merged 1 commit into
mainfrom
seer/fix-slider-crash
Oct 10, 2025
Merged

GUI: Prevent crashes when slider thumb button is missing#56
x64-dev merged 1 commit into
mainfrom
seer/fix-slider-crash

Conversation

@seer-by-sentry

@seer-by-sentry seer-by-sentry Bot commented Oct 5, 2025

Copy link
Copy Markdown

Fixes CLIENT-EN. The issue was that: Allocation failure for the slider thumb button leaves the parent slider incomplete, causing a delayed null pointer dereference during UI update.

  • Added a check in GadgetListBox::adjustDisplay to ensure the slider thumb button exists before accessing its size.
  • Added a check in gogoGadgetSlider to ensure the slider thumb button is created successfully. If creation fails, the slider window is destroyed to prevent memory leaks and a NULL pointer is returned.

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

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

@x64-dev
x64-dev marked this pull request as ready for review October 10, 2025 21:20
@x64-dev
x64-dev merged commit 4c9176b into main Oct 10, 2025
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