diff options
| author | Thomas Heller <theller@ctypes.org> | 2007-03-23 19:55:27 (GMT) |
|---|---|---|
| committer | Thomas Heller <theller@ctypes.org> | 2007-03-23 19:55:27 (GMT) |
| commit | e6a70394518340fc595ff67fcfbf8e4c3ffbfd48 (patch) | |
| tree | 0eeefc0f21f570127163e3ed294cd716a50a8e3d /Lib/weakref.py | |
| parent | 234b1ff24fb60f5002a4a0d68e0f29d493de0863 (diff) | |
| download | cpython-e6a70394518340fc595ff67fcfbf8e4c3ffbfd48.zip cpython-e6a70394518340fc595ff67fcfbf8e4c3ffbfd48.tar.gz cpython-e6a70394518340fc595ff67fcfbf8e4c3ffbfd48.tar.bz2 | |
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.
Diffstat (limited to 'Lib/weakref.py')
0 files changed, 0 insertions, 0 deletions
