Author sth
Recipients sth
Date 2019-03-14.00:02:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1552521762.27.0.553620503066.issue36285@roundup.psfhosted.org>
In-reply-to
Content
The array module's `array.remove(x)` iterates over the array, searching for `x`. If the array contains >=2G elements this can overflow the `int` loop variable.

`array__array_reconstructor_impl()` also contains loops with `int` variables that likely have the similar problems.

Changing the loop variables to `Py_ssize_t` fixes the problem. For details see the PR.
History
Date User Action Args
2019-03-14 00:02:42sthsetrecipients: + sth
2019-03-14 00:02:42sthsetmessageid: <1552521762.27.0.553620503066.issue36285@roundup.psfhosted.org>
2019-03-14 00:02:42sthlinkissue36285 messages
2019-03-14 00:02:42sthcreate