code-423n4 / 2021-10-slingshot-findings

0 stars 0 forks source link

Missing parameter validation #79

Closed code423n4 closed 2 years ago

code423n4 commented 2 years ago

Handle

cmichel

Vulnerability details

Some parameters of functions are not checked for invalid values:

Impact

Wrong user input or wallets defaulting to the zero addresses for a missing input can lead to the contract needing to redeploy or wasted gas.

Recommended Mitigation Steps

Validate the parameters.

tommyz7 commented 2 years ago

Duplicate of #89