Closed sherlock-admin3 closed 3 months ago
Low/Info issue submitted by NoOne
in setRebalancer function it doesnt check the _rebalancer == address(0) . Maybe it has to be made and the check if _rebalancer != address(0) like in function on bottom function setTranche
setRebalancer
_rebalancer == address(0)
_rebalancer != address(0)
function setRebalancer
Manual Review
function setRebalancer(address _rebalancer) external onlyOwner { if (_rebalancer == address(0)) { revert ZeroAddress(); } rebalancer = _rebalancer; }
Missing check for zero address
Low/Info issue submitted by NoOne
Summary
Vulnerability Detail
in
setRebalancer
function it doesnt check the_rebalancer == address(0)
. Maybe it has to be made and the check if_rebalancer != address(0)
like in function on bottom function setTrancheImpact
Code Snippet
function setRebalancer
Tool used
Manual Review
Recommendation