Closed sherlock-admin3 closed 3 weeks ago
Acrobatic Burlap Lizard
Low/Info
ContractAddressManager:getContractAddressForName() should internally check require(contractAddressForName[name] != address(0) because actors calling that function do not perform that check
require(contractAddressForName[name] != address(0)
No response
add require(contractAddressForName[name] != address(0)
Acrobatic Burlap Lizard
Low/Info
ContractAddressManager:getContractAddressForName() should revert if contract is not found
Summary
ContractAddressManager:getContractAddressForName() should internally check
require(contractAddressForName[name] != address(0)
because actors calling that function do not perform that checkRoot Cause
No response
Internal pre-conditions
No response
External pre-conditions
No response
Attack Path
No response
Impact
No response
PoC
No response
Mitigation
add
require(contractAddressForName[name] != address(0)