Closed code423n4 closed 2 years ago
xnarus
Returns not assigned value can have influence for caller.
https://github.com/code-423n4/2021-12-vader/blob/main/contracts/tokens/USDV.sol#L147
Return values are correct. Return values are assigned if the for loop runs. (0, 0) means there is nothing to claim.
(0, 0)
Handle
xnarus
Vulnerability details
Impact
Returns not assigned value can have influence for caller.
Proof of Concept
https://github.com/code-423n4/2021-12-vader/blob/main/contracts/tokens/USDV.sol#L147
Tools Used
Recommended Mitigation Steps