cpython/Modules/_ctypes
Thomas Heller e6a7039451 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.

Will backport to release25-maint.
2007-03-23 19:55:27 +00:00
..
darwin Copy ctypes-0.9.9.4 sources from external into the trunk. 2006-03-08 19:35:11 +00:00
libffi Patch #1649190: Adding support for _Bool to ctypes as c_bool, by David Remahl. 2007-03-13 20:42:52 +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 for 64-bit Windows: In ctypes.wintypes, correct the definitions 2007-01-11 21:18:56 +00:00
_ctypes.c Prevent creation (followed by a segfault) of array types when the size 2007-03-23 19:55:27 +00:00
_ctypes_test.c Replace C++ comments with C comments. 2007-01-17 09:40:34 +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:30:48 +00:00
callproc.c Fix various minor errors in passing arguments to 2006-10-19 11:00:37 +00:00
cfield.c Back out "Patch #1643874: memory leak in ctypes fixed." 2007-03-22 19:44:31 +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 18:45:39 +00:00