The Dussehra::killRavana
function is susceptible to overflow if the length of participants and the entrance fee are too large.
In killRavana
function, the multiplication of WantToBeLikeRam.length
, entranceFee
, and 50
can potentially overflow.
If WantToBeLikeRam.length
and entranceFee
are both very large, their product multiplied by 50
may exceed the maximum value of uint256, causing an overflow.
Possible overflow can cause the killRavana
function to revert, resulting in funds being stuck in the contract forever.
Manual review
Implement limits on the number of entries for the event to prevent excessively large values for WantToBeLikeRam.length
.
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.