]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] 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:36:10 +0000 (18:36 +0100)
committerGitHub <noreply@github.com>
Sun, 27 Oct 2024 17:36:10 +0000 (17:36 +0000)
commitac31a2607fdc48986b7f3e46b113b1484d266ef2
tree80fcd6d30aad2c6e9907f63bbfbfc538e3bd8e96
parent25421c715d735162dc8fac1eb38de30eca3a2552
[3.13] gh-125966: fix use-after-free on `fut->fut_callback0` due to an evil callback's `__eq__` in asyncio (GH-125967) (#126047)

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