The next required bid is calculated as: requiredAmount = (previousBidAmount / 100) * (100 + S_MIN_BID_INCREMENT_PERCENTAGE);
This does integer division first (loss of precision) and the alternative multiplication-first approach could overflow on extreme values. The current expression may allow slightly smaller-than-intended bids due to truncation.
Likelihood:
Medium — But precision/truncation makes the policy ambiguous.
Impact:
Medium — can allow a next bid that’s smaller than intended percentage increase, or (with alternative implementations) risk overflow.
Integer division in requiredAmount truncates fractions, allowing bids slightly lower than intended.
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.