New submission from Zackery Spytz <zsp...@gmail.com>:

If compute_cr_origin() fails in PyCoro_New(), coro->cr_origin won't be 
initialized. This will cause a crash during the coroutine's deallocation.

I'll create a PR for this issue.

----------
components: Interpreter Core, asyncio
messages: 330031
nosy: ZackerySpytz, asvetlov, yselivanov
priority: normal
severity: normal
status: open
title: A possible segfault involving a newly-created coroutine
type: crash
versions: Python 3.7, Python 3.8

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue35269>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to