Refund function should delete a user record instead of setting it to the zero address.This creates gaps in the storage and might cause getActivePlayerIndex to run out of gas.
Refund function replaces the caller's address with the zero address.This creates gaps in the storage and might cause getActivePlayerIndex to run out of gas.
Users calling getActivePlayerIndex to run out of gas and therefore be unable to withdraw.
Manual review.
Swap the last item in the array with the current item and call pop() on the array.
Funds are locked to no one. If someone gets the refund issue, they also got this issue. IMPACT: High Likelihood: High
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.