Missing validation for address(0) when assigning values to address state variables.
In the changeOwner() function, there is no check to prevent setting the owner to addres(0). As a result, the owner can be updated to a zero address.
This could lead to a loss of contract ownership, as the user might unintentionally or maliciously transfer ownership to address(0), making the contract inaccessible.
Manual review, Slither
Consider adding address(0) checks for _newOwner:
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.