Fix issue #380: Signed integer overflow check
Instead of checking something like `x * y + z > max` where `x * y` can overflow, check for `x > (max - z) / y` instead.
This commit is contained in:
1 parent
79fa8b2f41
commit
1e981115c9
2 files changed
+442
-920
No files matched your search
+436
-914
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user