Skip to content
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

[3.8] bpo-38588: Fix possible crashes in dict and list when calling P… #17764

Merged
merged 2 commits into from
Dec 31, 2019

Conversation

corona10
Copy link
Member

@corona10 corona10 commented Dec 31, 2019

…yObject_RichCompareBool (GH-17734)

Take strong references before calling PyObject_RichCompareBool to protect against the case
where the object dies during the call.
(cherry picked from commit 2d5bf56)

Co-authored-by: Dong-hee Na donghee.na92@gmail.com

https://bugs.python.org/issue38588

…yObject_RichCompareBool (pythonGH-17734)

Take strong references before calling PyObject_RichCompareBool to protect against the case
where the object dies during the call.
(cherry picked from commit 2d5bf56)

Co-authored-by: Dong-hee Na <donghee.na92@gmail.com>
@methane's suggestion

Co-Authored-By: Inada Naoki <songofacandy@gmail.com>
@corona10 corona10 requested a review from methane December 31, 2019 02:12
@pablogsal pablogsal merged commit 2ee8791 into python:3.8 Dec 31, 2019
@corona10 corona10 deleted the backport-2d5bf56-3.8 branch December 31, 2019 04:53
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.

5 participants