Staging
v0.5.1
https://github.com/python/cpython
Revision 46b3a79459934a09eaf00caf7e36b20717afc09f authored by Neal Norwitz on 28 July 2008, 05:22:45 UTC, committed by Neal Norwitz on 28 July 2008, 05:22:45 UTC
to the signed max value similar to 2.5 and trunk.

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.
1 parent 5cdbf77
History
Tip revision: 46b3a79459934a09eaf00caf7e36b20717afc09f authored by Neal Norwitz on 28 July 2008, 05:22:45 UTC
Backport r65182. This change modified from using the unsigned max value
Tip revision: 46b3a79
File Mode Size
Demo
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
Parser
Python
RISCOS
Tools
.hgtags -rw-r--r-- 3.3 KB
LICENSE -rw-r--r-- 13.4 KB
Makefile.pre.in -rw-r--r-- 32.5 KB
README -rw-r--r-- 50.1 KB
aclocal.m4 -rw-r--r-- 2.1 KB
configure -rwxr-xr-x 586.5 KB
configure.in -rw-r--r-- 90.0 KB
install-sh -rwxr-xr-x 7.0 KB
pyconfig.h.in -rw-r--r-- 24.2 KB
setup.py -rw-r--r-- 54.8 KB

README

back to top