]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-122695: Fix double-free when using `gc.get_referents` with a freed `_asynci...
authorVictor Stinner <vstinner@python.org>
Fri, 9 Aug 2024 14:33:24 +0000 (16:33 +0200)
committerGitHub <noreply@github.com>
Fri, 9 Aug 2024 14:33:24 +0000 (14:33 +0000)
commitc57a33d006ab77ed643d780c5a2883bc3554f9db
treebdc1efa52f1089f633cc9b53b7de75d41dd0a559
parentc536f59c62eca95f0f4ef3fd688f5c387dd40ae6
[3.12] gh-122695: Fix double-free when using `gc.get_referents` with a freed `_asyncio.FutureIter` (#122837) (#122859)

[3.13] gh-122695: Fix double-free when using `gc.get_referents` with a freed `_asyncio.FutureIter` (#122837)

* Backport #122834 for 3.13

(cherry picked from commit e8fb088dbaa71dd5f0146b2f4a8f7ecbe2ce9625)

Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
Lib/test/test_asyncio/test_futures.py
Misc/NEWS.d/next/Library/2024-08-08-15-05-58.gh-issue-122695.f7pwBv.rst [new file with mode: 0644]
Modules/_asynciomodule.c