Description: The constructor
does not validate the lengths of the players and rewards arrays to ensure they match.
Impact: If the arrays have mismatched lengths, it could lead to incorrect mappings in playersToRewards
, potentially causing logical errors in reward distribution.
Recommended Mitigation: Add a check in the constructor to ensure that the lengths of players and rewards arrays are equal:
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.