[issue44396] pegen _PyParser_ASTFromFile(): Use-After-Free in syntaxerror()

Pablo Galindo Salgado report at bugs.python.org
Fri Jun 11 13:18:30 EDT 2021


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

Ok, found the problem, we are not resetting the multi-line-start pointer when we are reallocating the tokenizer buffers.

----------
stage: patch review -> 

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


More information about the Python-bugs-list mailing list