20,000 USDC
View results
Submission Details
Severity: medium

Functions may run out of gas due to long list of borrows/loanIds/refinances

Vulnerability Details

Impact

The function could fail to be executed due to long list of parameters

Proof of concept

These functions contain a for loop that can be unbounded. This means it could run out of gas and the function will automatically reverts.

How to fix

Set a sanity maximum number of the length of the list to include in the list.

Support

FAQs

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

Give us feedback!