Missing zero-address checks #86
Labels
0 (Non-critical)
Code style, clarity, syntax, versioning, off-chain monitoring (events etc), exclude gas optimisation
bug
Something isn't working
sponsor confirmed
Sponsor agrees this is a problem and intends to fix it (OK to use w/ "disagree with severity")
Handle
loop
Vulnerability details
Some contracts are missing a zero-check for addresses where an address is given as a parameter which should never be zero. Zero-address checks are a best-practise for input validation of critical address parameters as accidental input of a zero address might result in exceptions, burn fees/tokens or force redeployment of contracts.
Proof of Concept
Recommended Mitigation Steps
Add a zero address check
The text was updated successfully, but these errors were encountered: