Submitted by bin2chen
LiquidationHandler.sol#L72
The PR adds getMaxExtension to address the issue of auction times being indefinitely postponed. The maximum time is: block.timestamp + _liquidationAuctionDuration + getMaxExtension. However, _liquidationAuctionDuration can be modified, with the current constraint being _liquidationAuctionDuration < MAX_AUCTION_DURATION (7 days).
Therefore, its still possible that: block.timestamp + _liquidationAuctionDuration + getMaxExtension could exceed 7 Days.
It is recommended to restrict _liquidationAuctionDuration + ILoanLiquidator(liquidator).getMaxExtension < MAX_AUCTION_DURATION.
Context
0xsomeone (judge) commented:
