cpython/Lib/ctypes
Miss Islington (bot) f02d1a43c6
bpo-36946: Fix possible signed integer overflow when handling slices. (GH-13375)
The final addition (cur += step) may overflow, so use size_t for "cur".
"cur" is always positive (even for negative steps), so it is safe to use
size_t here.

Co-Authored-By: Martin Panter <vadmium+py@gmail.com>
(cherry picked from commit 14514d9084)

Co-authored-by: Zackery Spytz <zspytz@gmail.com>
2019-05-17 00:33:10 -07:00
..
macholib Show what's changed when Travis fails regen check (GH-2095) 2017-06-10 23:04:36 -05:00
test bpo-36946: Fix possible signed integer overflow when handling slices. (GH-13375) 2019-05-17 00:33:10 -07:00
__init__.py bpo-26439 Fix ctypes.util.find_library failure on AIX (#4507) 2017-12-19 13:58:49 +01:00
_aix.py bpo-34558: Add missing parentheses in _aix.py (GH-9017) 2018-08-31 22:46:32 -04:00
_endian.py Issue #22098: ctypes' BigEndianStructure and LittleEndianStructure now define an empty __slots__ so that subclasses don't always get an instance dict. 2014-08-30 00:37:18 +02:00
util.py bpo-33281: Fix ctypes.util.find_library regression on macOS (GH-6625) (GH-6680) 2018-05-01 22:51:31 -04:00
wintypes.py