Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information