20,000 USDC
View results
Submission Details
Severity: low
Valid

No zero address check on address used for `transferOwnership()`

Summary

There is no verification that the address passed to transferOwnership is not zero address

Impact

Potential ownership loss of the functions with onlyOwner

Tools Used

None

Recommendations

Consider using the existing library from OpenZeppelin which is thoroughly tested and proved save. Which has as well the zero address check for the new owner address provided.

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.

Give us feedback!