The set_deadline function allows setting deadlines in the past.
No validation ensures the deadline is in the future, allowing immediate expiration of the fund.
A creator could set an already-passed deadline, preventing contributions or enabling immediate withdrawals/refunds, potentially maliciously.
Manual Code Review
Add validation:
This is strong informational finding, there is no impact for the protocol. The variable is the same on all places.
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.