code-423n4 / 2022-02-anchor-findings

0 stars 0 forks source link

QA Report #54

Closed code423n4 closed 2 years ago

code423n4 commented 2 years ago

L-01:

missing zero address checks in CrossAnchorBridge.sol

CrossAnchorBridge.initialize(uint8,address,address,address[],address,address,bytes32)._wormholeCoreBridge (ethereum/CrossAnchorBridge.sol#140) lacks a zero-check on :
                - WORMHOLE_CORE_BRIDGE = _wormholeCoreBridge (ethereum/CrossAnchorBridge.sol#152)
CrossAnchorBridge.initialize(uint8,address,address,address[],address,address,bytes32)._wormholeTokenBridge (ethereum/CrossAnchorBridge.sol#141) lacks a zero-check on :
                - WORMHOLE_TOKEN_BRIDGE = _wormholeTokenBridge (ethereum/CrossAnchorBridge.sol#153)
GalloDaSballo commented 2 years ago

Consider closing as invalid due to one-finding report