According to the comment above the checkList()
function, this function is only called by Santa. However, there is no logic to determine whether or not the caller is Santa. As a result, anyone has the ability to change their own status as well as the status of any other user.
Users can add themselves to the s_theListCheckedOnce
list, but Santa's intervention is required to add them to the s_theListCheckedTwice
list in order to call the collectPresent()
function.
Users can change the first status of any other person, preventing them from calling the collectPresent()
function.
Utilize the onlySanta()
modifier in the checkList()
function
Anyone is able to call checkList() changing the status of a provided address. This is not intended functionality and is meant to be callable by only Santa.
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.