TSender

Cyfrin
DeFiFoundry
15,000 USDC
View results
Submission Details
Severity: medium
Invalid

Incorrect duplicate check

Summary

Incorrect duplicate address check

Vulnerability Details

In ARE_LISTS_VALID(), the inner loop starts from 1 and not zero. What this means is that if there is a duplicate address as the first element and consequently at third or fourth element, the function won't revert.

This is because the first inner element is skipped.

Impact

Possibility of existence of duplicate address.

Tools Used

Manual review

Recommendations

The inner loop should start from 0 instead of 1.

Updates

Lead Judging Commences

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

Support

FAQs

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