]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Issue #23446: Use PyMem_New instead of PyMem_Malloc to avoid possible integer
authorSerhiy Storchaka <storchaka@gmail.com>
Mon, 16 Feb 2015 11:28:22 +0000 (13:28 +0200)
committerSerhiy Storchaka <storchaka@gmail.com>
Mon, 16 Feb 2015 11:28:22 +0000 (13:28 +0200)
commit1a1ff29659f068659dea07f1bd67b8fd4331071c
tree20705986aa369225a02980a11f0a6a66a9eed0ee
parente1efc07a30f4c17723c707ad761bfad538982b0c
Issue #23446: Use PyMem_New instead of PyMem_Malloc to avoid possible integer
overflows.  Added few missed PyErr_NoMemory().
15 files changed:
Modules/_ctypes/_ctypes.c
Modules/_ctypes/stgdict.c
Modules/_localemodule.c
Modules/_ssl.c
Modules/_testbuffer.c
Modules/_testcapimodule.c
Modules/getpath.c
Modules/posixmodule.c
Modules/pyexpat.c
Modules/socketmodule.c
Modules/unicodedata.c
Modules/zipimport.c
Objects/unicodeobject.c
PC/winreg.c
Python/peephole.c