diff options
author | Zackery Spytz <zspytz@gmail.com> | 2018-11-18 16:45:57 (GMT) |
---|---|---|
committer | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2018-11-18 16:45:57 (GMT) |
commit | 062a57bf4b768ef726975bcc1d34398387520147 (patch) | |
tree | dfbfcc857ff4b66fbfe543ece6f4f23e492c204f /Misc | |
parent | 177a41a07b7d13c70d068ea0962f07e625ae171e (diff) | |
download | cpython-062a57bf4b768ef726975bcc1d34398387520147.zip cpython-062a57bf4b768ef726975bcc1d34398387520147.tar.gz cpython-062a57bf4b768ef726975bcc1d34398387520147.tar.bz2 |
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
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Core and Builtins/2018-11-17-10-18-29.bpo-35269.gjm1LO.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2018-11-17-10-18-29.bpo-35269.gjm1LO.rst b/Misc/NEWS.d/next/Core and Builtins/2018-11-17-10-18-29.bpo-35269.gjm1LO.rst new file mode 100644 index 0000000..0076346 --- /dev/null +++ b/Misc/NEWS.d/next/Core and Builtins/2018-11-17-10-18-29.bpo-35269.gjm1LO.rst @@ -0,0 +1,2 @@ +Fix a possible segfault involving a newly-created coroutine. Patch by +Zackery Spytz. |