Open code423n4 opened 3 years ago
Jmukesh
due to lack of zero address validation, there is chance of loosing funds
https://github.com/code-423n4/2021-05-88mph/blob/main/contracts/rewards/dumpers/Dumper.sol
https://github.com/code-423n4/2021-05-88mph/blob/main/contracts/rewards/dumpers/OneSplitDumper.sol
manual review
add zero address check
We're fine with this
Handle
Jmukesh
Vulnerability details
Impact
due to lack of zero address validation, there is chance of loosing funds
Proof of Concept
https://github.com/code-423n4/2021-05-88mph/blob/main/contracts/rewards/dumpers/Dumper.sol
https://github.com/code-423n4/2021-05-88mph/blob/main/contracts/rewards/dumpers/OneSplitDumper.sol
Tools Used
manual review
Recommended Mitigation Steps
add zero address check