summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2022-09-30 19:57:09 (GMT)
committerGitHub <noreply@github.com>2022-09-30 19:57:09 (GMT)
commit63780f4599acc2c5ee8af5f37ab76c162ad21065 (patch)
tree541db070bca69edcb73a5f344b14d4493080d57d /Misc/NEWS.d
parente9d63760fea8748638f6e495b5b07bd1805c9591 (diff)
downloadcpython-63780f4599acc2c5ee8af5f37ab76c162ad21065.zip
cpython-63780f4599acc2c5ee8af5f37ab76c162ad21065.tar.gz
cpython-63780f4599acc2c5ee8af5f37ab76c162ad21065.tar.bz2
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.
Diffstat (limited to 'Misc/NEWS.d')
-rw-r--r--Misc/NEWS.d/next/Library/2022-09-29-23-22-24.gh-issue-97592.tpJg_J.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2022-09-29-23-22-24.gh-issue-97592.tpJg_J.rst b/Misc/NEWS.d/next/Library/2022-09-29-23-22-24.gh-issue-97592.tpJg_J.rst
new file mode 100644
index 0000000..aa245cf
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2022-09-29-23-22-24.gh-issue-97592.tpJg_J.rst
@@ -0,0 +1 @@
+Avoid a crash in the C version of :meth:`asyncio.Future.remove_done_callback` when an evil argument is passed.