cpython/Modules/_ctypes
Thomas Heller b151f721a9 Prevent creation (followed by a segfault) of array types when the size
overflows the valid Py_ssize_t range.  Check return values of
PyMem_Malloc.

Backported from trunk.
2007-03-23 19:56:45 +00:00
..
darwin Copy ctypes-0.9.9.4 sources from external into the trunk. 2006-03-08 19:35:11 +00:00
libffi Fix #1563807: _ctypes built on AIX fails with ld ffi error. 2006-11-28 20:43:11 +00:00
libffi_arm_wince Copy ctypes-0.9.9.4 sources from external into the trunk. 2006-03-08 19:35:11 +00:00
libffi_msvc Fixes so that _ctypes can be compiled with the MingW compiler. 2006-07-03 08:04:05 +00:00
_ctypes.c Prevent creation (followed by a segfault) of array types when the size 2007-03-23 19:56:45 +00:00
_ctypes_test.c Merged revisions 53466 via svnmerge from 2007-01-17 09:53:03 +00:00
_ctypes_test.h Copy ctypes-0.9.9.4 sources from external into the trunk. 2006-03-08 19:35:11 +00:00
callbacks.c ctypes callback functions only support 'fundamental' result types. 2006-10-17 19:41:10 +00:00
callproc.c Apply the patch #1532975 plus ideas from the patch #1533481. 2006-08-14 11:17:48 +00:00
cfield.c Back out "Patch #1643874: memory leak in ctypes fixed." 2007-03-22 19:43:37 +00:00
ctypes.h Apply the patch #1532975 plus ideas from the patch #1533481. 2006-08-14 11:17:48 +00:00
ctypes_dlfcn.h Add pep-291 compatibility markers. 2006-06-12 20:56:48 +00:00
malloc_closure.c Add pep-291 compatibility markers. 2006-06-12 20:56:48 +00:00
stgdict.c Fix bug #1598620: A ctypes structure cannot contain itself. 2006-11-24 19:00:39 +00:00