[proxy] github.com← back | site home | direct (HTTPS) ↗ | proxy home | ◑ dark◐ light

[3.6] bpo-39453: Multiple backport patch for use after free with list and dict by corona10 · Pull Request #18206 · python/cpython

ZackerySpytz

and others added 4 commits

January 28, 2020 02:08
Hold strong references to list elements while calling PyObject_RichCompareBool().
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 <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>

corona10 changed the title bpo-39453: Multiple backport patch for use after free with list and dict [3.6] bpo-39453: Multiple backport patch for use after free with list and dict

Jan 27, 2020