diff options
author | Dong-hee Na <donghee.na92@gmail.com> | 2019-12-31 01:04:22 (GMT) |
---|---|---|
committer | Pablo Galindo <Pablogsal@gmail.com> | 2019-12-31 01:04:22 (GMT) |
commit | 2d5bf568eaa5059402ccce9ba5a366986ba27c8a (patch) | |
tree | 04fe688caaa82e948cc4ff315fe82453f3445b6e /Misc/NEWS.d | |
parent | ee9ff05ec22ecd47dbffdd361967ccd55963dad2 (diff) | |
download | cpython-2d5bf568eaa5059402ccce9ba5a366986ba27c8a.zip cpython-2d5bf568eaa5059402ccce9ba5a366986ba27c8a.tar.gz cpython-2d5bf568eaa5059402ccce9ba5a366986ba27c8a.tar.bz2 |
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.
Diffstat (limited to 'Misc/NEWS.d')
-rw-r--r-- | Misc/NEWS.d/next/Core and Builtins/2019-12-29-19-13-54.bpo-38588.pgXnNS.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2019-12-29-19-13-54.bpo-38588.pgXnNS.rst b/Misc/NEWS.d/next/Core and Builtins/2019-12-29-19-13-54.bpo-38588.pgXnNS.rst new file mode 100644 index 0000000..0b81085 --- /dev/null +++ b/Misc/NEWS.d/next/Core and Builtins/2019-12-29-19-13-54.bpo-38588.pgXnNS.rst @@ -0,0 +1,2 @@ +Fix possible crashes in dict and list when calling +:c:func:`PyObject_RichCompareBool`. |