diff options
author | Dong-hee Na <donghee.na92@gmail.com> | 2019-12-31 04:15:36 (GMT) |
---|---|---|
committer | Pablo Galindo <Pablogsal@gmail.com> | 2019-12-31 04:15:36 (GMT) |
commit | 2ee87913dde038436a25f1db13ee3fddd2bcc983 (patch) | |
tree | 506d007f2e4b809e8360d086ba91b50568233980 /Python/ast.c | |
parent | a278ae19b4daa1deb11e2a8eed38838027e90ece (diff) | |
download | cpython-2ee87913dde038436a25f1db13ee3fddd2bcc983.zip cpython-2ee87913dde038436a25f1db13ee3fddd2bcc983.tar.gz cpython-2ee87913dde038436a25f1db13ee3fddd2bcc983.tar.bz2 |
[3.8] bpo-38588: Fix possible crashes in dict and list when calling P… (GH-17764)
* [3.8] 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>
* Update Objects/listobject.c
@methane's suggestion
Co-Authored-By: Inada Naoki <songofacandy@gmail.com>
Co-authored-by: Inada Naoki <songofacandy@gmail.com>
Diffstat (limited to 'Python/ast.c')
0 files changed, 0 insertions, 0 deletions