Beginner FriendlyFoundryNFT
100 EXP
View results
Submission Details
Severity: low
Invalid

Lack Zero Address Checks

Summary

Certain functions fail to validate incoming arguments, so callers can accidentally set important state variables to the zero address.

Vulnerability Details

The following functions are missing zero address checks:
constructor
● enterRaffle
● changeFeeAddress

Impact

Broken Protocol, unable to withdraw fees

Tools Used

Manual Review

Recommendations

Short term, add zero address checks on all function arguments to ensure that users cannot
accidentally set incorrect values

Updates

Lead Judging Commences

Hamiltonite Lead Judge over 1 year ago
Submission Judgement Published
Invalidated
Reason: Zero address checks

Support

FAQs

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