GivingThanks

First Flight #28
Beginner FriendlyFoundry
100 EXP
View results
Submission Details
Severity: low
Invalid

[value overflow]: lack of max quantity of tokens may result in overflow of tokenCounter

Summary

Evertime a user calls donate(), he can mint an NFT however, there's no upper limit on tokenCounter which may result in possible overflow of uint tokenCounter.

Vulnerability Details

Impact

Tools Used

Recommendations

We can set an upper limit on tokenCounter or use SafeMath that reverts the operation if overflow occurs.

Updates

Lead Judging Commences

n0kto Lead Judge 10 months ago
Submission Judgement Published
Invalidated
Reason: Non-acceptable severity

Support

FAQs

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