Skip to content

Tree: Check and clear popup_pressing_edited_item when removing TreeItem #107775

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

a-johnston
Copy link
Contributor

Closes #107774

Tested on mac and linux, the crash/use-after-free couldn't be reproduced with this patch. Unclear if this has been a possible crash as long as git blame indicates it has been or if something else uncovered it/opened a path to it.

@a-johnston a-johnston requested a review from a team as a code owner June 20, 2025 17:55
@AThousandShips AThousandShips added bug crash topic:gui cherrypick:4.4 Considered for cherry-picking into a future 4.4.x release labels Jun 20, 2025
@AThousandShips AThousandShips added this to the 4.5 milestone Jun 20, 2025
@akien-mga akien-mga changed the title Check and clear popup_pressing_edited_item when removing treeitem Tree: Check and clear popup_pressing_edited_item when removing TreeItem Jun 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug cherrypick:4.4 Considered for cherry-picking into a future 4.4.x release crash topic:gui
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use-after-free of popup_pressing_edited_item when modifying tree items
2 participants