Skip to content

bpo-31861: Fix possible crash in PyAnextAwaitable_New #25005

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
Mar 24, 2021

Conversation

pablogsal
Copy link
Member

@pablogsal pablogsal commented Mar 23, 2021

@pablogsal
Copy link
Member Author

pablogsal commented Mar 23, 2021

If PyObject_GC_New fails, then the call to _PyObject_GC_TRACK will crash.

Copy link
Member

@gvanrossum gvanrossum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks I really merged this prematurely. :-(

@jab
Copy link
Contributor

jab commented Mar 24, 2021

Oops, thanks for catching this!

@pablogsal pablogsal merged commit 919d42d into python:master Mar 24, 2021
@pablogsal pablogsal deleted the bpo-31861-2 branch March 24, 2021 00:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants