]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-44184: Apply GH-26274 to the non-GC-type branch of subtype_dealloc (GH-27165)
authorT. Wouters <thomas@python.org>
Thu, 15 Jul 2021 22:40:57 +0000 (00:40 +0200)
committerGitHub <noreply@github.com>
Thu, 15 Jul 2021 22:40:57 +0000 (00:40 +0200)
commit074e7659f208051b6b973f7fdb654dd22b93aaa2
treeaacfbcb0a7c3a783f9263812e92ad194d7c0d4bf
parent82b218f36ce6ef910bda5af227a9fd5be613c94f
bpo-44184: Apply GH-26274 to the non-GC-type branch of subtype_dealloc (GH-27165)

The non-GC-type branch of subtype_dealloc is using the type of an object after freeing in the same unsafe way as GH-26274 fixes. (I believe the old news entry covers this change well enough.)

https://bugs.python.org/issue44184
Objects/typeobject.c