[issue46110] compile("-"*3000000 + "4", '', mode) causes hard crash

Pablo Galindo Salgado report at bugs.python.org
Fri Dec 17 21:10:24 EST 2021


Pablo Galindo Salgado <pablogsal at gmail.com> added the comment:

I worked in the past in a refactor of the math based rules (https://github.com/python/cpython/pull/20696/files) that could prevent **this** particular example, but others could still make the parser crash by stack overflow

----------

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


More information about the Python-bugs-list mailing list