summaryrefslogtreecommitdiff
path: root/Python/errors.c
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2008-07-28 05:06:20 +0000
committerNeal Norwitz <nnorwitz@gmail.com>2008-07-28 05:06:20 +0000
commit83ac0144fa3041556aa4f3952ebd979e0189a19c (patch)
tree6ea0926c622f76b3eb8542cad72ffde6aaabc551 /Python/errors.c
parentc8e4bed1c5a11b0447feb38d0870af056a71ad2c (diff)
downloadcpython-git-83ac0144fa3041556aa4f3952ebd979e0189a19c.tar.gz
Backport code from r65182:
Issue #2620: Overflow checking when allocating or reallocating memory was not always being done properly in some python types and extension modules. PyMem_MALLOC, PyMem_REALLOC, PyMem_NEW and PyMem_RESIZE have all been updated to perform better checks and places in the code that would previously leak memory on the error path when such an allocation failed have been fixed.
Diffstat (limited to 'Python/errors.c')
0 files changed, 0 insertions, 0 deletions