Skip to content
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

fix heap-use-after-free condition when cancelling spawned task, close… #196

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

Conversation

Pele44
Copy link

@Pele44 Pele44 commented Aug 12, 2024

This change corrects the error reported in issue 194. However, I do not have much experience with cobalt interiors, so it is worth having the author take a look at it.

…boostorg#194

The variable "recs" was allocated on a piece of memory whose lifetime
was managed at the level of the coroutine (inside its frame). This led
to access to freed memory if that coroutine (its frame) was deleted
@klemens-morgenstern
Copy link
Collaborator

This should be fixed in 66c1196 I think.

Can you check?

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