The code is not checking for address(0)
when assigning a value to an address
state variable.
There is 1 instance of this issue.
File Link | Instance Count | Instance Link |
---|---|---|
Escrow.sol | 1 | 49 |
Lack of zero-address validation on address
parameters may lead to transaction reverts, wastes gas, may require resubmission of transactions, and may force contract redeployments in certain cases within the protocol.
baudit: a custom static code analysis tool; manual review
Consider adding explicit zero-address validation prior to assignment of a value to an address
state variable.
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.