]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
GH-97592: Fix crash in C remove_done_callback due to evil code (#97660)
authorGuido van Rossum <guido@python.org>
Fri, 30 Sep 2022 19:57:09 +0000 (12:57 -0700)
committerGitHub <noreply@github.com>
Fri, 30 Sep 2022 19:57:09 +0000 (12:57 -0700)
commit63780f4599acc2c5ee8af5f37ab76c162ad21065
tree541db070bca69edcb73a5f344b14d4493080d57d
parente9d63760fea8748638f6e495b5b07bd1805c9591
GH-97592: Fix crash in C remove_done_callback due to evil code (#97660)

Evil code could cause fut_callbacks to be cleared when PyObject_RichCompareBool is called.
Lib/test/test_asyncio/test_futures.py
Misc/NEWS.d/next/Library/2022-09-29-23-22-24.gh-issue-97592.tpJg_J.rst [new file with mode: 0644]
Modules/_asynciomodule.c