summaryrefslogtreecommitdiffstats
path: root/Python/bltinmodule.c
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2013-07-08 22:44:43 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2013-07-08 22:44:43 (GMT)
commitc4266360fc70745d49b09f2c29cda91c1a007525 (patch)
treeff5dd727f232097d2b7c87dcf9095388f3b1c49b /Python/bltinmodule.c
parent9e6b4d715c46c0fa518fd76440b59516a9f6f7ea (diff)
downloadcpython-c4266360fc70745d49b09f2c29cda91c1a007525.zip
cpython-c4266360fc70745d49b09f2c29cda91c1a007525.tar.gz
cpython-c4266360fc70745d49b09f2c29cda91c1a007525.tar.bz2
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/bltinmodule.c')
0 files changed, 0 insertions, 0 deletions