[issue40958] ASAN/UBSAN: heap-buffer-overflow in pegen.c

Pablo Galindo Salgado report at bugs.python.org
Fri Jun 12 11:47:44 EDT 2020


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

Well, I think the solution here is to clip the col_offset to the line length and maybe adding assert that the difference is not bigger than 1.

----------

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


More information about the Python-bugs-list mailing list