Adminable.sol
transferAdmin
function does not validate whether the newAdmin
address is a valid user or a zero address.Code Reference:
Impact:
Setting the admin address to zero would render the contract unmanageable, leading to a complete loss of functionality and control over the contract.
Recommendations:
Include the following validation before assigning the new admin:
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.