MyCut

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

No check for equal lengths in constructor in `Pot.sol`

Summary

In the Pot.sol constrcutor there is no check for the two dynamic arrays if the lengths are equal.

Vulnerability Details

The missing check for the both the dynamic arrays causes unwanted behaviour for the contract.

Impact

This can lead to unexpected and unwanted behaviour because the contract will revert.

Tools Used

Manual review.

Recommendations

In the constructor add a check for the equal lengths of the arrays.

Updates

Lead Judging Commences

equious Lead Judge 11 months ago
Submission Judgement Published
Invalidated
Reason: Known issue

Support

FAQs

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