Closed code423n4 closed 2 years ago
https://github.com/code-423n4/2022-09-vtvl/blob/main/contracts/VTVLVesting.sol#L245
Missing sanity check on _linearVestAmount
_linearVestAmount
Visit here https://github.com/code-423n4/2022-09-vtvl/blob/main/contracts/VTVLVesting.sol#L245
You are missing the sanity check on user inputted _linearVestAmount
You need add the check on zero amount
closing as invalid, QA at best.
Lines of code
https://github.com/code-423n4/2022-09-vtvl/blob/main/contracts/VTVLVesting.sol#L245
Vulnerability details
Impact
Missing sanity check on
_linearVestAmount
Proof of Concept
Visit here https://github.com/code-423n4/2022-09-vtvl/blob/main/contracts/VTVLVesting.sol#L245
You are missing the sanity check on user inputted
_linearVestAmount
You need add the check on zero amount