Skip to content

Conversation

@awnumar
Copy link
Owner

@awnumar awnumar commented Oct 24, 2019

Fixes #125

@awnumar awnumar added the todo label Oct 24, 2019
The destroy function can fail in a number of ways. If it just fails
on the canary validation or on making the memory mutable, we can
retry these operations and still be in safe-land. If however it fails
after freeing the memory (this can't happen in the current implementation
but it's worth talking about) then the purge function will have a
use-after-free vulnerability.

Need to audit this code.
@awnumar awnumar changed the title patch: Panic: halt coffer cycles and safely flush buffer list Redesigning safe termination functionality Oct 25, 2019
@awnumar awnumar removed the todo label Oct 27, 2019
@awnumar awnumar merged commit 1dcdba3 into master Oct 28, 2019
@awnumar awnumar deleted the panicrace branch October 28, 2019 12:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bufferList Data Race Can Occur in Panic

2 participants