Submitted by bin2chen
emitLoan() only limits offer.duration != 0. Theres no limit in executionData.duration<=offer.duration.
emitLoan() -> _processOffersFromExecutionData() -> _validateOfferExecution()
If the executionData.duration time is not limited, it can lead to far exceeding the borrowing time offer.duration. If the lender is a LoanManager, when repayLoan() it can also exceed the maximum pendingQueues, leading to accounting issues.
Far exceeding the borrowing time than offer.duration. If lender is LoanManager also exceeds max pendingQueues, causing bookkeeping issues.
Check executionData.duration<=offer[n].duration.
Context
0xend (Gondi) confirmed
0xA5DF (judge) commented:
Gondi mitigated:
Status: Mitigation confirmed. Full details in reports from oakcobalt, minhquanym and bin2chen.
