• Victor Stinner's avatar
    bpo-31626: Fix _PyObject_DebugReallocApi() (#4310) · ed4743a2
    Victor Stinner authored
    _PyObject_DebugReallocApi() now calls Py_FatalError() if realloc()
    fails to shrink a memory block.
    
    Call Py_FatalError() because _PyObject_DebugReallocApi() erased freed
    bytes *before* realloc(), expecting that realloc() *cannot* fail to
    shrink a memory block.
    ed4743a2
2017-11-07-11-59-44.bpo-31626.LP-CoD.rst 211 Bytes