The changeFeeAddress() function lacks a check for address zero. This means that an owner could call the function to change the fee address to address zero by mistake, and all fees would then be sent to address zero. This would effectively drain the contract of all of its fees to a null address.
The contract could be drained of all of its fee funds to address zero.
Users could lose money if they paying fees to the contract.
https://gist.github.com/Falilah/c77222f98a8a7c656bfa974e508e7211
manual review, Foundry
The changeFeeAddress() function should be modified to check if the new fee address is address zero. If it is, the function should revert.
Funds are locked to no one. If someone gets the refund issue, they also got this issue. IMPACT: High Likelihood: High
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.