]> granicus.if.org Git - python/commit
bpo-26423: Fix possible overflow in wrap_lenfunc() (GH-13606)
authorZackery Spytz <zspytz@gmail.com>
Tue, 28 May 2019 12:55:29 +0000 (06:55 -0600)
committerVictor Stinner <vstinner@redhat.com>
Tue, 28 May 2019 12:55:28 +0000 (14:55 +0200)
commit05f16416d99dc9fc76fef11e56f16593e7a5955e
treea440208f390b4c412ec28ceba4a508a6218a4075
parent04530812e90e45a37ed84e83505d63db7edc1262
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).
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