]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-125984: fix use-after-free on `fut->fut_{callback,context}0` due to an...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 27 Oct 2024 15:23:07 +0000 (16:23 +0100)
committerGitHub <noreply@github.com>
Sun, 27 Oct 2024 15:23:07 +0000 (15:23 +0000)
commitfdedb2618a7ed12977ec8c06b82d7296c18bd84c
tree330018409650be826783a9cf153a16b06d6859b4
parent67b270142d58b8f9a64f8ae2b84a195e7e49adda
[3.12] gh-125984: fix use-after-free on `fut->fut_{callback,context}0` due to an evil `loop.__getattribute__` (GH-126003) (#126044)

gh-125984: fix use-after-free on `fut->fut_{callback,context}0` due to an evil `loop.__getattribute__` (GH-126003)
(cherry picked from commit f819d4301d7c75f02be1187fda017f0e7b608816)

Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Lib/test/test_asyncio/test_futures.py
Misc/NEWS.d/next/Library/2024-10-26-12-50-48.gh-issue-125984.d4vp5_.rst [new file with mode: 0644]
Modules/_asynciomodule.c