Lack of inputs validation #53
Labels
1 (Low Risk)
Assets are not at risk. State handling, function incorrect as to spec, issues with comments
bug
Something isn't working
duplicate
This issue or pull request already exists
Handle
0x1f8b
Vulnerability details
Impact
Lack of inputs during deployment could produce a re-deploy with human errors.
Proof of Concept
The unique variable validated was feePercent, but all the address must be checked to be != address(0) and _startTime + _streamDuration must be less than the current block.
Source reference:
https://github.com/code-423n4/2021-11-streaming/blob/56d81204a00fc949d29ddd277169690318b36821/Streaming/src/Locke.sol#L264-L274
Tools Used
Manual review
Recommended Mitigation Steps
Validate the input params, the address must be != address(0)
The text was updated successfully, but these errors were encountered: