Describe the normal behavior in one or more sentences
Explain the specific issue or problem in one or more sentences
Likelihood:
This lack of a check that address person has been given a Status in s_theListCheckedOnce will happen every time checkTwice() is called. The only thing that is checked by checkTwice() is that the parameter status be equal to a previously assigned status in the first mapping.
Impact:
Impact
Impact 2
An additional if-statement should be added to check whether the address was given the Status NICE or EXTRA_NICE beforehand. This is especially confused because Status defaults to NICE as its 0th element's value.
The contest is live. Earn rewards by submitting a finding.
Submissions are being reviewed by our AI judge. Results will be available in a few minutes.
View all submissionsThe contest is complete and the rewards are being distributed.