Beginner FriendlyFoundry
100 EXP
View results
Submission Details
Severity: medium
Invalid

enum Status does not contain `UNKNOWN` status

Summary

The enum Status does not contain the status UNKNOWN. It is mentioned in the docs that there are NICE, EXTRA_NICE, NAUGHTY, UNKNOWN status but the Status enum doesn't contain the UNKNOWN status.

Vulnerability Details

The vulnerability is present in the Status enum which doesn't contain the UNKNOWN status, as a result of which Santa will not be able to mark people as UNKNOWN.

Impact

Santa will not be able to mark people as UNKNOWN

Tools Used

Manual Review

Recommendations

Include the category UNKNOWN to the Status enum.

enum Status {
NICE,
EXTRA_NICE,
NAUGHTY,
NOT_CHECKED_TWICE,
+ UNKNOWN
}
Updates

Lead Judging Commences

inallhonesty Lead Judge almost 2 years ago
Submission Judgement Published
Invalidated
Reason: Non-acceptable severity

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.