20,000 USDC
View results
Submission Details
Severity: medium

Calldata array's with no length limiting may lead tx fails

Summary

Almost every function taking array's and loop through them may lead tx fails cause out of gas

Vulnerability Details

For example;
In batch of borrows isnt being limited and loop through expensive computations may revert caused by out of gas

Impact

Transaction fails and borrower may lose gas .

Tools Used

Foundry test suit

Recommendations

Should limit the batching for keeping the transaction in acceptible gas values

Support

FAQs

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