Skip to content

Conversation

@karlseguin
Copy link
Collaborator

cancel on linux was a "real" cancel, but the implementation was unsafe. It took whatever id it was given and @ptrfromint'd it. This is problematic since the id is user-supplied with virtually no validation.

Using the existing MacOS canceled lookup seems both easier and safer than trying to validate the cancellation id.

cancel on linux was a "real" cancel, but the implementation was unsafe. It took
whatever `id` it was given and @ptrfromint'd it. This is problematic since the
`id` is user-supplied with virtually no validation.

Using the existing MacOS canceled lookup seems both easier and safer than trying
to validate the cancellation id.
@krichprollsch krichprollsch merged commit 312189f into main May 1, 2025
12 checks passed
@krichprollsch krichprollsch deleted the cancel_via_lookup branch May 1, 2025 08:18
@github-actions github-actions bot locked and limited conversation to collaborators May 1, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants