mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
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. |
||
|---|---|---|
| .. | ||
| macholib | ||
| test | ||
| __init__.py | ||
| _aix.py | ||
| _endian.py | ||
| util.py | ||
| wintypes.py | ||