Staging
v0.5.1
https://github.com/python/cpython
Revision b3d587184cd082d254e031eb799b66caad3fff8b authored by Georg Brandl on 11 July 2005, 05:57:11 UTC, committed by Georg Brandl on 11 July 2005, 05:57:11 UTC
SF bug 1185883:  PyObject_Realloc can't safely take over a block currently
managed by C, because it's possible for the block to be smaller than the
new requested size, and at the end of allocated VM.  Trying to copy over
nbytes bytes to a Python small-object block can segfault then, and there's
no portable way to avoid this (we would have to know how many bytes
starting at p are addressable, and std C has no means to determine that).
1 parent 6108583
History
Tip revision: b3d587184cd082d254e031eb799b66caad3fff8b authored by Georg Brandl on 11 July 2005, 05:57:11 UTC
Backport:
Tip revision: b3d5871
File Mode Size
Demo
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
Parser
Python
RISCOS
Tools
.cvsignore -rw-r--r-- 109 bytes
.hgtags -rw-r--r-- 2.7 KB
LICENSE -rw-r--r-- 13.0 KB
Makefile.pre.in -rw-r--r-- 31.6 KB
README -rw-r--r-- 48.6 KB
aclocal.m4 -rw-r--r-- 2.1 KB
configure -rwxr-xr-x 578.7 KB
configure.in -rw-r--r-- 86.4 KB
install-sh -rwxr-xr-x 7.0 KB
pyconfig.h.in -rw-r--r-- 23.8 KB
setup.py -rw-r--r-- 52.2 KB

README

back to top