The Adminable::transferAdmin()
function does not validate that the newAdmin parameter is not the zero address. Without this check, transferring admin privileges to the zero address can result in loss of control over administrative functions, as the zero address cannot execute actions or receive permissions.
Loss of control over administrative functions
In the Adminable::transferAdmin()
function, add the following check:
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.