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

Possible integer overflow

Summary

Possible integer overflow is possible when calculating totalFees.

Vulnerability Details

The contract is compiled with version ^0.7.6 of solidity. All versions before 0.8.x allow integer types to overflow and underflow. The totalFees is of type uint64 which if very possible to overflow.

Impact

Wrong calculation of totalFees.

Tools Used

Manual Review

Recommendations

Use SafeMath library.

Updates

Lead Judging Commences

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

overflow-uint64

Support

FAQs

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

Give us feedback!