BeatToken::setFestivalContract, may lead to invalid contract assignmentThe BeatToken::setFestivalContract function allows the owner to assign a festival contract address.
But it does not validate that the provided address is non-zero.
Likelihood:
Low: As owner is resposible for setting festivalContract address.
Impact:
High: This could break the whole functionality where the festival contract is referenced, leading to failed external calls always.
Add a check to ensure the _festival address is non-zero before assignment:
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.