Sparkn

CodeFox Inc.
DeFiFoundryProxy
15,000 USDC
View results
Submission Details
Severity: medium
Valid

Missing check in constructor

Summary

Missing check in constructor

Vulnerability Details

Missing checks for address(0x0) when assigning values to address state variables.

Impact

Zero-address check should be used, to avoid the risk of setting a storage variable as address(0) at deploying time.

Tools Used

Manual code

Recommendations

Check for zero-address to avoid the risk of setting address(0) for state variables after an update.

Support

FAQs

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

Give us feedback!