]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-125966: fix use-after-free on `fut->fut_callback0` due to an evil callback...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 27 Oct 2024 17:32:11 +0000 (18:32 +0100)
committerGitHub <noreply@github.com>
Sun, 27 Oct 2024 17:32:11 +0000 (17:32 +0000)
commit4fc1da1b2757c49f9e6eda9cbc7513cc2ed5180c
treea3ffed0226c5cea1bfc6b62b22c434408e526a07
parentfdedb2618a7ed12977ec8c06b82d7296c18bd84c
[3.12] gh-125966: fix use-after-free on `fut->fut_callback0` due to an evil callback's `__eq__` in asyncio (GH-125967) (#126048)

gh-125966: fix use-after-free on `fut->fut_callback0` due to an evil callback's `__eq__` in asyncio (GH-125967)
(cherry picked from commit ed5059eeb1aa50b481957307db5a34b937497382)

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-25-10-53-56.gh-issue-125966.eOCYU_.rst [new file with mode: 0644]
Modules/_asynciomodule.c