summaryrefslogtreecommitdiff
path: root/Python/ceval.c
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2013-07-09 00:44:43 +0200
committerVictor Stinner <victor.stinner@gmail.com>2013-07-09 00:44:43 +0200
commitc4266360fc70745d49b09f2c29cda91c1a007525 (patch)
treeff5dd727f232097d2b7c87dcf9095388f3b1c49b /Python/ceval.c
parent9e6b4d715c46c0fa518fd76440b59516a9f6f7ea (diff)
downloadcpython-git-c4266360fc70745d49b09f2c29cda91c1a007525.tar.gz
Issue #18408: Fix _PyMem_DebugRealloc()
Don't mark old extra memory dead before calling realloc(). realloc() can fail and realloc() must not touch the original buffer on failure. So mark old extra memory dead only on success if the new buffer did not move (has the same address).
Diffstat (limited to 'Python/ceval.c')
0 files changed, 0 insertions, 0 deletions