20,000 USDC
View results
Submission Details
Severity: low
Valid

Input Arrays Length Are Not Validated

Summary

The input arrays length are not checked for the equality in the giveLoan function.

Vulnerability Details

It is not checked if the loanIds and poolIds arrays have the same lengths.

Impact

This violates the best practices and decreases the code readability.

Tools Used

Manual Review

Recommendations

Verify if the loanIds and poolIds arrays have the same lengths.

Support

FAQs

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