Closed c4-submissions closed 11 months ago
141345 marked the issue as duplicate of #1391
alex-ppg marked the issue as not a duplicate
alex-ppg marked the issue as duplicate of #175
alex-ppg marked the issue as unsatisfactory: Insufficient quality
Lines of code
https://github.com/code-423n4/2023-10-nextgen/blob/a6f2397b68ef2865374c1bf7629349f25e71a44d/smart-contracts/AuctionDemo.sol#L105
Vulnerability details
Impact
Proof of Concept
If it's still unclear, let me clarify from a different perspective: Auction duration is from 0 to 10, lets say. We can only select auction winner AFTER the auction (duration). This means
> 10
, NOT>= 10
. If we wanted to make 10 valid for auction winner selection, then we would need to make auction duration from 0 to 9, where the auction ends at 9. Now we can have>= 10
which is logically correct.Tools Used
VSC. Manual.
Recommended Mitigation Steps
Assessed type
Other