STINNER Victor <vstin...@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue40020>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to