The code is not checking for address(0)
when assigning a value to an address
state variable.
There are 5 instances of this issue.
File Link | Instance Count | Instance Links |
---|---|---|
Fees.sol | 2 | 20,21 |
File Link | Instance Count | Instance Link |
---|---|---|
Lender.sol | 1 | 101 |
File Link | Instance Count | Instance Links |
---|---|---|
Ownable.sol | 2 | 15,20 |
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.