#45731 [SC-Insight] Off-by-One Logic in Escrow End Timestamp Calculation May Cause Unintended Escrow Delay
Description
Brief/Intro
Vulnerability Details
if (escrowEndTimestamp <= block.timestamp + 12 hours) { // less than 12 hours from now, move to the next day
escrowEndTimestamp += 1 days;
}Impact Details
References
Proof of Concept
Proof of Concept
Previous#45604 [SC-Low] User Overpayment in `transferToCoreVault` Fee HandlingNext#45685 [SC-Insight] Incorrect comments in finishRedemptionWithoutPayment
Was this helpful?