Skip to content

bpo-31861: Fix possible crash in PyAnextAwaitable_New#25005

Merged
pablogsal merged 1 commit intopython:masterfrom
pablogsal:bpo-31861-2
Mar 24, 2021
Merged

bpo-31861: Fix possible crash in PyAnextAwaitable_New#25005
pablogsal merged 1 commit intopython:masterfrom
pablogsal:bpo-31861-2

Conversation

@pablogsal
Copy link
Copy Markdown
Member

@pablogsal pablogsal commented Mar 23, 2021

@pablogsal
Copy link
Copy Markdown
Member Author

pablogsal commented Mar 23, 2021

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

Copy link
Copy Markdown
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
Copy Markdown
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