forked from boostorg/cobalt
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix heap-use-after-free condition when cancelling spawned task, closes …
…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.
- Loading branch information
zkocon
authored and
zkocon
committed
Aug 12, 2024
1 parent
b74d61e
commit fe22515
Showing
1 changed file
with
2 additions
and
16 deletions.
There are no files selected for viewing
This file contains 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