[issue31626] Writing in freed memory in _PyMem_DebugRawRealloc() after shrinking a memory block
STINNER Victor
report at bugs.python.org
Tue Nov 7 07:31:41 EST 2017
STINNER Victor <victor.stinner at gmail.com> added the comment:
For allocations larger than 512 bytes, PyObject_Malloc() calls PyMem_RawMalloc(). When debug hooks are installed, PyObject_Malloc() calls a debug hook which calls PyMem_RawMalloc() which calls another debug hook.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue31626>
_______________________________________
More information about the Python-bugs-list
mailing list