If the player address does not exist in the players array, function returns wrong index.
In getActivePlayerIndex function if the player address is not in the players array. Normally it should not return any indexes. However currently function returns the first index.
The player addresses which are not active will be mixed with the first address in the players array. And first addresses account will be vulnerable
Manual reading.
If the target address is not in the players array, revert an error instead of returning wrong index
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.