DeFiHardhat
21,000 USDC
View results
Submission Details
Severity: high
Invalid

Missing Check on amount in "addMigratedUnderlying"

Summary

The function addMigratedUnderlying does not check if amount is greater than zero.

Vulnerability Details

This can result in an integer overflow/underflow

Tools Used

Manual Inspection

Recommendations

Add a require statement to ensure amount > 0 to prevent unnecessary operations.

Updates

Lead Judging Commences

giovannidisiena Lead Judge about 1 year ago
Submission Judgement Published
Invalidated
Reason: Incorrect statement
inallhonesty Judge
about 1 year ago

Support

FAQs

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