◐ Shell
clean mode source ↗

bpo-44184: Apply GH-26274 to the non-GC-type branch of subtype_dealloc. by Yhg1s · Pull Request #27165 · python/cpython

… it is also

trying to use a type after it's potentially been freed.

pablogsal

pablogsal

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request

Jul 15, 2021

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request

Jul 15, 2021

@Yhg1s Yhg1s deleted the subtype_dealloc branch

July 15, 2021 22:41

Yhg1s added a commit that referenced this pull request

Jul 15, 2021
GH-27165) (GH-27174)

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 074e765)

Co-authored-by: T. Wouters <thomas@python.org>

Yhg1s added a commit that referenced this pull request

Jul 15, 2021
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 074e765)

Co-authored-by: T. Wouters <thomas@python.org>

@Yhg1s Yhg1s restored the subtype_dealloc branch

June 6, 2023 15:04

@Yhg1s Yhg1s deleted the subtype_dealloc branch

November 22, 2023 15:51