Skip to content

Disallow calling PyThreadState_Delete* at runtime shutdown #102233

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
kumaraditya303 opened this issue Feb 25, 2023 · 1 comment
Open

Disallow calling PyThreadState_Delete* at runtime shutdown #102233

kumaraditya303 opened this issue Feb 25, 2023 · 1 comment
Labels
3.10 only security fixes 3.11 only security fixes 3.12 only security fixes interpreter-core (Objects, Python, Grammar, and Parser dirs) type-crash A hard crash of the interpreter, possibly with a core dump

Comments

@kumaraditya303
Copy link
Contributor

At runtime such code should be disallowed as it can mess when the runtime finalization and can crash the interpreter or worse.

@kumaraditya303 kumaraditya303 added interpreter-core (Objects, Python, Grammar, and Parser dirs) 3.11 only security fixes 3.10 only security fixes type-crash A hard crash of the interpreter, possibly with a core dump 3.12 only security fixes labels Feb 25, 2023
@ericsnowcurrently
Copy link
Member

See my thoughts in #102222 (review).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.10 only security fixes 3.11 only security fixes 3.12 only security fixes interpreter-core (Objects, Python, Grammar, and Parser dirs) type-crash A hard crash of the interpreter, possibly with a core dump
Projects
None yet
Development

No branches or pull requests

2 participants