code-423n4 / 2021-06-tracer-findings

1 stars 0 forks source link

Missing parameter validation #87

Closed code423n4 closed 3 years ago

code423n4 commented 3 years ago

Handle

cmichel

Vulnerability details

Some parameters of functions are not checked for invalid values:

Impact

A 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.

raymogg commented 3 years ago

This ticket covers topics that are duplicates of #136 (non zero address checks) and also #102 (percent value limits)