Description: The incorrect overflow check in the MathMasters::mulWadUp
function if statement
prevents the function from correctly asserting if x*y overflows and reverting with the appropriate error, This would cause the value x*y to wrap rather than revert as the multiplication is done in assembly.
Impact: High, undefined behaviour and wrong calculation values
POC:
the following test passes and logs 0
rather than revert with an appropriate error
Recommendation:
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.