]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-26423: Fix possible overflow in wrap_lenfunc() (GH-13606) (GH-13625)
authorVictor Stinner <vstinner@redhat.com>
Tue, 28 May 2019 15:23:07 +0000 (17:23 +0200)
committerGitHub <noreply@github.com>
Tue, 28 May 2019 15:23:07 +0000 (17:23 +0200)
commit80dfe990162e7a2dd99524829beecd449a973e9e
tree832d950900b92fdfe368a85c31686219a0ccb56d
parentd9d1045837e5356331b6d5e24cbd1286acb62b5d
bpo-26423: Fix possible overflow in wrap_lenfunc() (GH-13606) (GH-13625)

Fix possible overflow in wrap_lenfunc() when
sizeof(long) < sizeof(Py_ssize_t) (e.g., 64-bit Windows).

(cherry picked from commit 05f16416d99dc9fc76fef11e56f16593e7a5955e)
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