Borrower may borrow a loan with unexpected auction length.
Borrower calls borrow(Borrow[] calldata borrows) to borrow a loan, the calldata borrows doesn't contain auctionLength.
When borrower calls to borrow, the pool lender may also call setPool(Pool calldata p) to update the auction length. Both the transactions will be in mempool, if the setPoolgets executed beforeborrowtransaction, borrower may get a loan with unexpectedauctionLength`.
Borrower gets a loan with unexpected auction length.
Manual Review
Add the auctionLength to calldata borrows, and check if pool auctionLength is expected.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.