There is a wrong if condition which evaluates always to zero at line 52. The binary result of the or is always gt than x and the function never reverts (due to the if statement), even if there is an overflow of the variable type uint256.
The check of the if condition, is incorrect. mulWadUp fuction will never revert (due to the if statement), because the result of the or is always gt than x.
This bug cause the function to do not revert in case of overflow of the variable uint256 and therefore giving wrong results to the user.
Manual review and Remix
Remove from line 52 the or statement from the if condition.
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.