[issue39091] _PyErr_CreateException() must check that the result is an exception (CPython Segfault in 5 lines of code)

Łukasz Langa report at bugs.python.org
Tue Aug 3 06:11:05 EDT 2021


Łukasz Langa <lukasz at langa.pl> added the comment:


New changeset 0b551db04a99a97abb1e44a071c688c3ca704b67 by Miss Islington (bot) in branch '3.9':
bpo-39091: Fix segfault when Exception constructor returns non-exception for gen.throw. (GH-17658) (GH-27573)
https://github.com/python/cpython/commit/0b551db04a99a97abb1e44a071c688c3ca704b67


----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39091>
_______________________________________


More information about the Python-bugs-list mailing list