[issue40020] growable_comment_array_add leaks, causes crash
STINNER Victor
report at bugs.python.org
Mon Mar 30 17:23:29 EDT 2020
STINNER Victor <vstinner at python.org> added the comment:
Alexander Riccio: Do you know want to propose a change to replace direct usage of malloc/realloc/free with PyMem_Malloc, PyMem_Realloc and PyMem_RawFree? It would add their builtin debug feature for free, and also detect most obvious buffer overflow (reject size larger than PY_SSIZE_T_MAX).
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue40020>
_______________________________________
More information about the Python-bugs-list
mailing list