]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-26423: Fix possible overflow in wrap_lenfunc() (GH-13606)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 28 May 2019 13:17:43 +0000 (06:17 -0700)
committerGitHub <noreply@github.com>
Tue, 28 May 2019 13:17:43 +0000 (06:17 -0700)
commite7ddf586ae5b7a3b975103b09c8202226d77f421
tree78bcb43ea072ca1e29a33f23bfaf55bc3b34f8d3
parent1cfb90b69f0239ca8763725ddb01e206b74cb901
bpo-26423: Fix possible overflow in wrap_lenfunc() (GH-13606)

Fix possible overflow in wrap_lenfunc() when
sizeof(long) < sizeof(Py_ssize_t) (e.g., 64-bit Windows).
(cherry picked from commit 05f16416d99dc9fc76fef11e56f16593e7a5955e)

Co-authored-by: Zackery Spytz <zspytz@gmail.com>
Lib/test/test_descr.py
Misc/NEWS.d/next/Core and Builtins/2019-05-27-18-00-19.bpo-26423.RgUOE8.rst [new file with mode: 0644]
Objects/typeobject.c