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

Missing `address(0)` checks

Summary

Missing check for address(0)

Vulnerability Details

When setting the dependencies for the contract through the constructor or any functions, the zero address is not being checked.

Impact

Impact of the issue can range from losing ownership of the contract to setting incorrect token addresses

Tools Used

Manual

Recommendations

Add a check to check for address(0)

if (owner == address(0)) revert ZeroAddress();

Support

FAQs

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