The `LibRedundantMathSigned96::sub()` function is supposed to revert when there is an overflow or an underflow and also when a negative number is returned. But currently when a negative number is returned the function does not revert and returns this number.
Executing this piece of code on (https://remix.ethereum.org/) with the example values of a=19 and b=209 will not cause an error, even though 19-209=-190 returned a negative value.
Negative values will be returned where either a revert or a positive value was expected.
remix.ethereum.org
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.