• Guido van Rossum's avatar
    Remove all uses of alloca() from this module. The alloca() return value · a6a38ad5
    Guido van Rossum yazdı
    isn't checked, and it *is* possible that a very large alloca() call is
    made, e.g. when a large registry value is being read.  I don't know if
    alloca() in that case returns NULL or returns a pointer pointing outside
    the stack, and I don't want to know -- I've simply replaced all calls to
    alloca() with either PyMem_Malloc() or PyString_FromStringAndSize(NULL,)
    as appropriate, followed by a size check.  This addresses SF buf 851056.
    Will backport to 2.3 next.
    a6a38ad5
Adı
Son kayıt (commit)
Son güncelleme
Demo Loading commit data...
Doc Loading commit data...
Grammar Loading commit data...
Include Loading commit data...
Lib Loading commit data...
Mac Loading commit data...
Misc Loading commit data...
Modules Loading commit data...
Objects Loading commit data...
PC Loading commit data...
PCbuild Loading commit data...
Parser Loading commit data...
Python Loading commit data...
RISCOS Loading commit data...
Tools Loading commit data...
.cvsignore Loading commit data...
.hgtags Loading commit data...
LICENSE Loading commit data...
Makefile.pre.in Loading commit data...
README Loading commit data...
aclocal.m4 Loading commit data...
configure Loading commit data...
configure.in Loading commit data...
install-sh Loading commit data...
pyconfig.h.in Loading commit data...
setup.py Loading commit data...