40,000 USDC
View results
Submission Details
Severity: low

Missing checks for `address(0)` when assigning values to address state variables

Summary

Missing checks for address(0) when assigning values to address state variables

Vulnerability Details

Missing checks for address(0) when assigning values to address state variables could lead to critical situations where funds could be burnt or owner permissions lost or even a DOS

File: /src/Escrow.sol
46: i_tokenContract = tokenContract;
49: i_arbiter = arbiter;

Impact

DOS, funds lost

Tools Used

Manual

Recommendations

Check if the new value is different than the address(0)

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.