Skip to content

docs: record the hotkey unregister release fix in the features ledger - #3057

Merged
zackees merged 1 commit into
masterfrom
docs/3044-hotkey-ledger
Oct 30, 2026
Merged

zackees merged 1 commit into
masterfrom
docs/3044-hotkey-ledger

Conversation

@zackees

@zackees zackees commented Oct 30, 2026

Copy link
Copy Markdown
Member

Follow-up to #3045, which fixed #3044 and merged as 908595e00.

unregister_hotkey() freed the hotkey and then called remove_bindings(), whose obs_hotkey_binding_release() reads binding->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, so docs/features.md needs 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.

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.
@zackees
zackees added this pull request to the merge queue Oct 30, 2026
Merged via the queue into master with commit ddb67ff Oct 30, 2026
36 checks passed
@zackees
zackees deleted the docs/3044-hotkey-ledger branch October 30, 2026 11:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

bug: libobs: unregister_hotkey() frees the hotkey before remove_bindings() reads it (UAF; macOS Tier 2 red)

1 participant