Missing checks for address(0) when assigning values to address state variables
Title
L-3: Missing checks for address(0) when assigning values to address state variables
Summary
Check for address(0) when assigning values to address state variables.
1 Found Instances
- Found in src/contracts/core/flash-swaps/FlashSwapRouter.sol [Line: 36](https://github.com/sherlock-audit/2024-08-cork-protocol/blob/main/Depeg-swap/contracts/core/flash-swaps/FlashSwapRouter.sol#L36)
```solidity
univ2Router = IUniswapV2Router02(_univ2Router);
```
Parvez.eth
Invalid
Missing checks for
address(0)
when assigning values to address state variablesTitle
L-3: Missing checks for
address(0)
when assigning values to address state variablesSummary
Check for
address(0)
when assigning values to address state variables.1 Found Instances
- Found in src/contracts/core/flash-swaps/FlashSwapRouter.sol [Line: 36](https://github.com/sherlock-audit/2024-08-cork-protocol/blob/main/Depeg-swap/contracts/core/flash-swaps/FlashSwapRouter.sol#L36) ```solidity univ2Router = IUniswapV2Router02(_univ2Router); ```