summaryrefslogtreecommitdiffstats
path: root/Python/sysmodule.c
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2017-11-24 01:13:26 (GMT)
committerGitHub <noreply@github.com>2017-11-24 01:13:26 (GMT)
commited4743a2f2bb8d88f7f1aa9307794be9a44f1e0f (patch)
tree360e8ce9ba66cdae3d0c8194ce4dceb508cf1ca5 /Python/sysmodule.c
parent35d99830f1878867e3964577741d9a2d5a7fc8f7 (diff)
downloadcpython-ed4743a2f2bb8d88f7f1aa9307794be9a44f1e0f.zip
cpython-ed4743a2f2bb8d88f7f1aa9307794be9a44f1e0f.tar.gz
cpython-ed4743a2f2bb8d88f7f1aa9307794be9a44f1e0f.tar.bz2
bpo-31626: Fix _PyObject_DebugReallocApi() (#4310)
_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.
Diffstat (limited to 'Python/sysmodule.c')
0 files changed, 0 insertions, 0 deletions