The variable deadlineSet is never updated in setDeadline()after a deadline is set.
The if statement in setDeadline() checks to see if deadlineSet is true before proceeding with updating the deadline. However, this variable's value is never updated within the else statement reflecting that a deadline has actually been set.
This means that the there is no limit on how often the host is able to change deadline.
Manual review.
Update deadlineSet when the host sets the deadline by setting it to true within the else statement of setDeadline().
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.