Description: deadlineSet allways false. It is not set value when the host sets the deadline.
Impact: The fact that the deadlineSet variable is not updated allows the host to change the deadline multiple times. Additionally, the _days parameter is not checked for a value of 0, which could allow the host to set the deadline to the current time, preventing users from being able to refund anymore.
Recommended Mitigation: You can follow these changes:
Check the _days variable is greater than 0.
Set deadlineSet to true after change the deadline
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.