Beginner FriendlyFoundryNFT
100 EXP
View results
Submission Details
Severity: high
Valid

Casting between types without overflow check

Summary

Casting from bigger uint type to smaller can result in overflow.

Tools Used

Manual Review

Recommendations

Use OpenZeppelin SafeCast library.

Updates

Lead Judging Commences

patrickalphac Lead Judge
about 2 years ago
patrickalphac Lead Judge about 2 years ago
Submission Judgement Published
Validated
Assigned finding tags:

unsafe cast of fee to uint64

Support

FAQs

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

Give us feedback!