Skip to content

bpo-44184: Apply GH-26274 to the non-GC-type branch of subtype_dealloc. - #27165

Merged
Yhg1s merged 1 commit into
python:mainfrom
Yhg1s:subtype_dealloc
Jul 15, 2021
Merged

Yhg1s merged 1 commit into
python:mainfrom
Yhg1s:subtype_dealloc

Conversation

@Yhg1s

@Yhg1s Yhg1s commented Jul 15, 2021 •

Copy link
Copy Markdown
Member

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

… it is also

trying to use a type after it's potentially been freed.
Comment thread Objects/typeobject.c Resolved
@Yhg1s
Yhg1s merged commit 074e765 into python:main Jul 15, 2021
@miss-islington

Copy link
Copy Markdown
Contributor

Thanks @Yhg1s for the PR 🌮🎉.. I'm working now to backport this PR to: 3.10, 3.9.
🐍🍒⛏🤖

@bedevere-bot

Copy link
Copy Markdown

GH-27174 is a backport of this pull request to the 3.10 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jul 15, 2021
…dealloc (pythonGH-27165)

The non-GC-type branch of subtype_dealloc is using the type of an object after freeing in the same unsafe way as pythonGH-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>
@bedevere-bot

Copy link
Copy Markdown

GH-27175 is a backport of this pull request to the 3.9 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jul 15, 2021
…dealloc (pythonGH-27165)

The non-GC-type branch of subtype_dealloc is using the type of an object after freeing in the same unsafe way as pythonGH-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 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

5 participants