Skip to content

Cancel pending operation if we're abandoning the wait early.#105

Open
kinetiknz wants to merge 1 commit intodevfrom
fix-op-wait
Open

Cancel pending operation if we're abandoning the wait early.#105
kinetiknz wants to merge 1 commit intodevfrom
fix-op-wait

Conversation

@kinetiknz
Copy link
Copy Markdown
Contributor

Followup to a1936ad. After that change, operation_wait can return early on state errors, resulting in the caller dropping a still running operation, which could cause a UAF when the PulseAudio server eventually completes the operation.

Address this by making our operation wrapper cancel still running operations when dropped. Two existing cases that relied on the old behaviour intentionally are now explicit through the use of detach().

@kinetiknz kinetiknz self-assigned this Apr 8, 2026
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.

2 participants