In the function distribute
, the addresses array of winners are passed as an input. But there is no sanity check provided to check if any of the address is zero.
The distribute
function in the contract Distributor
takes the winners addresses but if any of the address is zero address. The distribute
function will transfer the amount to that address. Which will lead to loss of the funds to a unrecoverable address.
Loss of funds by mistake.
Manual Review
Add the following line of code in the internal function _distribute
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.