Repository navigation
docs: record the hotkey unregister release fix in the features ledger - #3057
Merged
Merged
Conversation
PR #3045 fixed a use-after-free in unregister_hotkey(): remove_bindings() now runs before the hotkey is freed, so a held binding's release callback is delivered instead of being lost. That is a user-visible fix for an upstream latent bug, so it belongs in docs/features.md under "Fixed upstream bugs / Stability"; #3045 landed without the line.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow-up to #3045, which fixed #3044 and merged as
908595e00.unregister_hotkey()freed the hotkey and then calledremove_bindings(), whoseobs_hotkey_binding_release()readsbinding->hotkey->pressed: a use-after-free on every unregister of a hotkey with a pressed binding, with a lost release callback as the observable effect. That is a user-visible fix for an upstream latent defect, sodocs/features.mdneeds a line under Fixed upstream bugs → Stability (coordination.md §4, and the ledger's own "How to add an entry"). #3045 landed with the code change only.This PR adds the line, quoting the merged PR and issue. No code, no test change: documentation only, so no RED/GREEN and no local gate stamp.
Merge order check: the entry sits last in the Stability list, which is also merge order for that area.