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

Ensure array lengths are the same

Summary

Ensure array lengths are the same

Vulnerability Details

File: src/Lender.sol
355: function giveLoan(
356: uint256[] calldata loanIds,
357: bytes32[] calldata poolIds

Link to code - https://github.com/Cyfrin/2023-07-beedle/blob/main/src/Lender.sol#L355

Tools Used

Manual Code Review by SolSaver

Recommendations

Ensure array lengths are the same

Support

FAQs

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

Give us feedback!