forked from python/cpython
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[3.13] pythongh-126080: fix UAF on
task->task_context
in `task_call…
…_step_soon` due to an evil `loop.__getattribute__` (pythonGH-126120) (python#126250) pythongh-126080: fix UAF on `task->task_context` in `task_call_step_soon` due to an evil `loop.__getattribute__` (pythonGH-126120) (cherry picked from commit 0e86655) Co-authored-by: Bénédikt Tran <[email protected]>
- Loading branch information
1 parent
588da2e
commit abe64a3
Showing
2 changed files
with
8 additions
and
1 deletion.
There are no files selected for viewing
3 changes: 3 additions & 0 deletions
3
Misc/NEWS.d/next/Library/2024-10-29-10-38-28.gh-issue-126080.qKRBuo.rst
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Fix a use-after-free crash on :class:`asyncio.Task` objects for which the | ||
underlying event loop implements an evil :meth:`~object.__getattribute__`. | ||
Reported by Nico-Posada. Patch by Bénédikt Tran. |
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