diff options
author | Pablo Galindo <Pablogsal@gmail.com> | 2019-03-09 19:18:08 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-09 19:18:08 +0000 |
commit | 0411411c6b16a574144dfb59a7780b057ca8e750 (patch) | |
tree | c776766542eb4e21b4e462dc8b84e12a7ab40a3d /Objects/unicodetype_db.h | |
parent | 62fa51f1216e788310d3118f4259f1b4b1e529fe (diff) | |
download | cpython-git-0411411c6b16a574144dfb59a7780b057ca8e750.tar.gz |
Rework integer overflow path in math.prod and add more tests (GH-11809)
The overflow check was relying on undefined behaviour as it was using the result of the multiplication to do the check, and once the overflow has already happened, any operation on the result is undefined behaviour.
Some extra checks that exercise code paths related to this are also added.
Diffstat (limited to 'Objects/unicodetype_db.h')
0 files changed, 0 insertions, 0 deletions