The burn
function lacks proper validation for cases where burnTaxRate
is non-zero but feeCollector
is set to zero address. This oversight could lead to incorrect token burning behavior when tax collection is expected.
Current implementation:
Issue occurs when burnTaxRate > 0
with feeCollector == address(0)
, resulting in improper tax handling.
Potential function reversion due to zero address transfer
Risk of incorrect supply calculations
Security implications from improper tax handling
Handle zero address case explicitly:
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.