In BridgeRouterFacet.sol:28
, there are no checks in place to ensure that _rethBridge
or _stethBridge
parameters passed to the constructor are not the zero address.
Snippet:
If the zero address is passed for either _rethBridge
or _stethBridge
, this could lead to erroneous behavior and potential loss of funds.
Manual Review
Immediate Action: Add a check in the constructor that reverts the transaction if either _rethBridge
or _stethBridge
is the zero address.
Suggested code:
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.