The public function FestivalPass::setOrganizer
can be set to address(0)
causing the FestivalPass NFT to render useless.
Likelihood:
The owner of the festival makes a mistake and adds 0 when setting an organizer
The disgrunted owner decides to set the orginizer to the address(0)
Impact:
The whole festival cannot do any operations required by the owner
Add the following test in FestivalPass.t.sol
to confirm that the function FestivalPass::setOrganizer can effectively add the address(0) without any error
Add the require line in the public function FestivalPass::setOrganizer
Owner/admin is trusted / Zero address check - Informational
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.