]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Issue #15989: Fix several occurrences of integer overflow
authorSerhiy Storchaka <storchaka@gmail.com>
Mon, 14 Jan 2013 23:12:17 +0000 (01:12 +0200)
committerSerhiy Storchaka <storchaka@gmail.com>
Mon, 14 Jan 2013 23:12:17 +0000 (01:12 +0200)
commit78980438683d98076cd541d995a868fb5c9e4277
tree6003323bfe4c38f0d9ca17f126fbcdf782752600
parent5f1cfbb5c056564e2692d2abcdc82f1944a3b2ec
Issue #15989: Fix several occurrences of integer overflow
when result of PyLong_AsLong() narrowed to int without checks.
19 files changed:
Include/longobject.h
Lib/ctypes/test/test_structures.py
Lib/test/string_tests.py
Lib/test/test_fcntl.py
Lib/test/test_fileio.py
Lib/test/test_io.py
Lib/test/test_poll.py
Lib/test/test_posix.py
Lib/test/test_socket.py
Modules/_ctypes/stgdict.c
Modules/_io/fileio.c
Modules/_io/textio.c
Modules/parsermodule.c
Modules/posixmodule.c
Modules/selectmodule.c
Modules/socketmodule.c
Objects/fileobject.c
Objects/longobject.c
Objects/unicodeobject.c