In the GivingThanks::donate function, there is no validation to ensure that the charity address is not 0x0.
There is no input validation to ensure that charity is not the zero address (address(0)).
It could allow donations to an invalid address, causing loss of funds.
Foundry, Remix
Add a check to ensure that charity is not the zero 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.