Closed code423n4 closed 3 years ago
0xsanson
In synthVault.sol, the function _processWithdraw() has a variable synthReward (in the return) that is never initialized.
_processWithdraw()
synthReward
https://github.com/code-423n4/2021-07-spartan/blob/main/contracts/synthVault.sol#L191
editor
Consider the role of this variable and define it accordingly.
Duplicate of #168 (Partial; obviously this issue deserves a much smaller share as its the non-critical part)
Not enough evidence in description to support high risk. Making this non-cirtical.
Handle
0xsanson
Vulnerability details
Impact
In synthVault.sol, the function
_processWithdraw()
has a variablesynthReward
(in the return) that is never initialized.Proof of Concept
https://github.com/code-423n4/2021-07-spartan/blob/main/contracts/synthVault.sol#L191
Tools Used
editor
Recommended Mitigation Steps
Consider the role of this variable and define it accordingly.