diff options
author | Dong-hee Na <donghee.na92@gmail.com> | 2019-12-31 04:15:10 (GMT) |
---|---|---|
committer | Pablo Galindo <Pablogsal@gmail.com> | 2019-12-31 04:15:10 (GMT) |
commit | 53f11ba7b1498133ce3ff8173d5ae2e0182a3603 (patch) | |
tree | 32daa851e500ec9d53613c4876034b20a89d3a10 /Lib/code.py | |
parent | c9c17cc933dcffb9ed7f03e3f791d8cfd7acc54a (diff) | |
download | cpython-53f11ba7b1498133ce3ff8173d5ae2e0182a3603.zip cpython-53f11ba7b1498133ce3ff8173d5ae2e0182a3603.tar.gz cpython-53f11ba7b1498133ce3ff8173d5ae2e0182a3603.tar.bz2 |
[3.7] bpo-38588: Fix possible crashes in dict and list when calling P… (GH-17765)
* [3.7] bpo-38588: Fix possible crashes in dict and list when calling PyObject_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 2d5bf568eaa5059402ccce9ba5a366986ba27c8a)
Co-authored-by: Dong-hee Na <donghee.na92@gmail.com>
* methane's suggestion
methane's suggestion
Co-Authored-By: Inada Naoki <songofacandy@gmail.com>
Co-authored-by: Inada Naoki <songofacandy@gmail.com>
Diffstat (limited to 'Lib/code.py')
0 files changed, 0 insertions, 0 deletions