First Flight #20: The Predicter

Beginner FriendlyFoundry
100 EXP
Submission Details
Severity: medium
Valid

DOS in withdraw function if `maxScore` and `totalPositivePoints` is zero leads to stuck funds.

Updates

Lead Judging Commences

NightHawK Lead Judge 2 months ago
Submission Judgement Published
Validated
Assigned finding tags:

Possible maxScore of zero is not accounted

The checks related to maxScore do not account possible maxScore of zero leading to stuck funds or a division by zero error.

Support

FAQs

Can’t find an answer? Join our Discord or follow us on Twitter.