The constructor initializes the CharityRegistry
, but there is no validation to check if the address is zero.
Lack of validation of 0 address in the constructor during initialization of CharityRegistry
.
Initializing the CharityRegistry
with a zero address disrupts protocol functionality. It is essential to validate the address during initialization to ensure the proper functioning of the protocol.
manual review
Please add 0 address validation in the constructor.
require(_registry != address(0), "Invalid registry address")
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.