Skip to content

bpo-31861: Fix possible crash in PyAnextAwaitable_New#25005

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

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

Conversation

@pablogsal

@pablogsal pablogsal commented Mar 23, 2021

Copy link
Copy Markdown
Member

@pablogsal

pablogsal commented Mar 23, 2021

Copy link
Copy Markdown
Member Author

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

@gvanrossum gvanrossum left a comment

Copy link
Copy Markdown
Member

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

jab commented Mar 24, 2021

Copy link
Copy Markdown
Contributor

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