I've recently completed an audit for some Solidity contracts, and one of the checks the auditor included for all of the contracts was to make sure that address
function arguments are not equal to the zero address (0x0
). Why do audits include this check, what are they trying to protect against?
I also see it in this (dated) checklist for Solidity audits: https://github.com/miguelmota/solidity-audit-checklist