Skip to content

[3.7] bpo-34408: Prevent a null pointer dereference and resource leakage in PyInterpreterState_New() (GH-8767) #13237

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

Merged
merged 1 commit into from
May 10, 2019

Conversation

pablogsal
Copy link
Member

@pablogsal pablogsal commented May 10, 2019

  • A pointer in PyInterpreterState_New() could have been NULL when being dereferenced.

  • Memory was leaked in PyInterpreterState_New() when taking some error-handling code path.
    (cherry picked from commit 95d630e)

Co-authored-by: Pablo Galindo [email protected]

…age in `PyInterpreterState_New()` (pythonGH-8767)

* A pointer in `PyInterpreterState_New()` could have been `NULL` when being dereferenced.

* Memory was leaked in `PyInterpreterState_New()` when taking some error-handling code path.
(cherry picked from commit 95d630e)

Co-authored-by: Pablo Galindo <[email protected]>
@pablogsal
Copy link
Member Author

Windows failed in Azure Pipelines because of an unrelated error.

@pablogsal pablogsal merged commit 34ed40f into python:3.7 May 10, 2019
@pablogsal pablogsal deleted the backport-95d630e-3.7 branch May 10, 2019 20:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants