diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2021-09-04 20:39:30 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-04 20:39:30 (GMT) |
commit | ed9f927527e100b6d1d5758fdd9fc20b313af226 (patch) | |
tree | fe4952a3a61ae2ad1d905bba792bc1145d216f8a /Python/pythonrun.c | |
parent | 2ad114ddffbeeef1d20f26571b85a66974295667 (diff) | |
download | cpython-ed9f927527e100b6d1d5758fdd9fc20b313af226.zip cpython-ed9f927527e100b6d1d5758fdd9fc20b313af226.tar.gz cpython-ed9f927527e100b6d1d5758fdd9fc20b313af226.tar.bz2 |
bpo-45030: Fix integer overflow in __reduce__ of the range iterator (GH-28000)
It happened with fast range iterator when the calculated stop = start + step * len
was out of the C long range.
(cherry picked from commit 936f6a16b9ef85bd56b18a247b962801e954c30e)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions