]> 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...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 15 Jul 2021 23:35:25 +0000 (16:35 -0700)
committerGitHub <noreply@github.com>
Thu, 15 Jul 2021 23:35:25 +0000 (01:35 +0200)
commit0b4704973dbef712d05bdd62349bb4244f545430
tree582df4c6783c647aebd35f378c3f5f06f21421ea
parent95596d5921eeab9ae49f0dc31263a249013b6849
bpo-44184: Apply GH-26274 to the non-GC-type branch of subtype_dealloc (GH-27165) (GH-27175)

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
(cherry picked from commit 074e7659f208051b6b973f7fdb654dd22b93aaa2)

Co-authored-by: T. Wouters <thomas@python.org>
Objects/typeobject.c