cpython/Lib/ctypes
Sean Gillespie 29a1384c04
bpo-13097: ctypes: limit callback to 1024 arguments (GH-19914)
ctypes now raises an ArgumentError when a callback
is invoked with more than 1024 arguments.

The ctypes module allocates arguments on the stack in
ctypes_callproc() using alloca(), which is problematic
when large numbers of arguments are passed. Instead
of a stack overflow, this commit raises an ArgumentError
if more than 1024 parameters are passed.
2020-05-27 17:22:07 +02:00
..
macholib bpo-36820: Break unnecessary cycle in socket.py, codeop.py and dyld.py (GH-13135) 2019-12-06 06:27:38 -08:00
test bpo-13097: ctypes: limit callback to 1024 arguments (GH-19914) 2020-05-27 17:22:07 +02:00
__init__.py bpo-39481: PEP 585 for a variety of modules (GH-19423) 2020-04-10 07:46:36 -07:00
_aix.py bpo-34558: Add missing parentheses in _aix.py (GH-9017) 2018-08-31 19:31:07 -07:00
_endian.py
util.py Remove binding of captured exceptions when not used to reduce the chances of creating cycles (GH-17246) 2019-11-19 21:34:03 +00:00
wintypes.py