The set_deadline
function is missing an essential update: it does not set dealine_set = true
, which allows the deadline to be modified multiple times.
The function checks if dealine_set
is true
before proceeding, but it never updates dealine_set = true
after setting the deadline.
This means the check is ineffective, and the deadline can be modified indefinitely.
A campaign owner can continuously change the deadline, misleading contributors and preventing them from withdrawing refunds.
Manual code review.
Ensure dealine_set = true
after setting 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.