If daoExecutor == address(0) then setDaoExecutor can never be called and daoExecutor cannot be updated.
Also, consider performing the check daoExecutor == _daoExecutor in setDaoExecutor as it's cheaper to not write to the storage unnecessarily.
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.