-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Destroy dangling retired parent contexts in destroy_ctx
When DestroyContext is called, it is possible that the parents of the context to be destroyed is a chain of retired contexts. These should be destroyed, since otherwise it is impossible to clean them up since their handles are invalid. This could prevent a potential DOS attack. One caveat is that the retired parent contexts only get destroyed if they have no other active children.
- Loading branch information
1 parent
f5a5fa4
commit d849694
Showing
3 changed files
with
170 additions
and
8 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
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
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