the setrouter function is used to set a new router is the router wants to be upgraded, the issue in this function is that the function lacks a check from preventing the router from being sent to a zero address, missing zero check
Loss of Functionality: If the router is set to the zero address, any subsequent calls that rely on the router for functionality will fail, as the zero address cannot perform any operations.
require(_router != address(0)
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.