]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.7] bpo-38610: Fix possible crashes in several list methods (GH-17022) (GH-17759)
authorPablo Galindo <Pablogsal@gmail.com>
Mon, 30 Dec 2019 19:58:31 +0000 (19:58 +0000)
committerGitHub <noreply@github.com>
Mon, 30 Dec 2019 19:58:31 +0000 (19:58 +0000)
commit296d45ec10fb55532bc3fac2311a3f91299ecf59
tree1114f95411a16460aac2aabff9bb616a494f276b
parent177bda9d51455d238ab6ec11302dd68340a24f43
[3.7] bpo-38610: Fix possible crashes in several list methods (GH-17022) (GH-17759)

Hold strong references to list elements while calling PyObject_RichCompareBool()..
(cherry picked from commit d9e561d23d994e3ed15f4fcbd7ee5c8fe50f190b)

Co-authored-by: Zackery Spytz <zspytz@gmail.com>
Co-authored-by: Zackery Spytz <zspytz@gmail.com>
Lib/test/test_list.py
Misc/NEWS.d/next/Core and Builtins/2019-10-31-14-30-39.bpo-38610.fHdVMS.rst [new file with mode: 0644]
Objects/listobject.c