SablierFlowBase::_update
does not perform a zero address check for the recipient
, risking the possibility of an invalid recipient address.
The lack of a zero address check for the recipient
parameter could allow a stream to be updated with an invalid recipient address. If a zero address is set as the recipient, tokens associated with this stream may be permanently inaccessible upon withdrawal.
Updating a stream with a zero address as the recipient
could lead to irreversible token loss when attempting a withdrawal.
Manual review
To address this vulnerability, add a zero address check in the SablierFlowBase::_update
function.
In Errors.sol
:
In SablierFlowBase::_update
:
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.