]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-35269: Fix a possible segfault involving a newly-created coroutine (GH-10585)
authorZackery Spytz <zspytz@gmail.com>
Sun, 18 Nov 2018 16:45:57 +0000 (09:45 -0700)
committerMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 18 Nov 2018 16:45:57 +0000 (08:45 -0800)
commit062a57bf4b768ef726975bcc1d34398387520147
treedfbfcc857ff4b66fbfe543ece6f4f23e492c204f
parent177a41a07b7d13c70d068ea0962f07e625ae171e
bpo-35269: Fix a possible segfault involving a newly-created coroutine (GH-10585)

coro->cr_origin wasn't initialized if compute_cr_origin() failed in
PyCoro_New(), which would cause a crash during the coroutine's
deallocation.

https://bugs.python.org/issue35269
Misc/NEWS.d/next/Core and Builtins/2018-11-17-10-18-29.bpo-35269.gjm1LO.rst [new file with mode: 0644]
Objects/genobject.c