When a new pot is created in ContestManager::createContest
, the length of players
and rewards
can mismatch due to a missing array length check.
When a pot is created in createContest
, it can (accidentally) happen that the array length of players
and rewards
mismatch. Those arrays are expected to match but are not validated before use.
This can lead to out-of-bound errors, incorrect reward distribution or skipping/ignoring the rewards for players
Manual Review
Adding an array length validation, such as
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.