summaryrefslogtreecommitdiffstats
path: root/PC/bdist_wininst/.cvsignore
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2003-11-30 22:01:43 (GMT)
committerGuido van Rossum <guido@python.org>2003-11-30 22:01:43 (GMT)
commita6a38ad55c4ce3ca2299068e880ad3ff4b4f6b51 (patch)
tree1a2538ba132713182d2e7686b3c58e8109ece55e /PC/bdist_wininst/.cvsignore
parent457bf91a7fb1ab628a94fe740450f137b4ee1b92 (diff)
downloadcpython-a6a38ad55c4ce3ca2299068e880ad3ff4b4f6b51.zip
cpython-a6a38ad55c4ce3ca2299068e880ad3ff4b4f6b51.tar.gz
cpython-a6a38ad55c4ce3ca2299068e880ad3ff4b4f6b51.tar.bz2
Remove all uses of alloca() from this module. The alloca() return value
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.
Diffstat (limited to 'PC/bdist_wininst/.cvsignore')
0 files changed, 0 insertions, 0 deletions