Skip to content

Conversation

@corona10
Copy link
Member

@corona10corona10 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 [email protected]

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 <[email protected]>
 methane's suggestion Co-Authored-By: Inada Naoki <[email protected]>
@pablogsalpablogsal merged commit 53f11ba into python:3.7Dec 31, 2019
@corona10corona10 deleted the backport-2d5bf56-3.7 branch December 31, 2019 04:53
corona10 added a commit to corona10/cpython that referenced this pull request Jan 27, 2020
pythonGH-17765) * [3.7] bpo-38588: Fix possible crashes in dict and list when calling PyObject_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 <[email protected]> * methane's suggestion methane's suggestion Co-Authored-By: Inada Naoki <[email protected]> Co-authored-by: Inada Naoki <[email protected]>
Sign up for freeto 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

@corona10@methane@pablogsal@the-knights-who-say-ni@bedevere-bot