Skip to content

Commit

Permalink
Report for issue #23 updated by Tigerfrake
Browse files Browse the repository at this point in the history
  • Loading branch information
c4-bot-10 committed Jan 20, 2024
1 parent f2704ac commit 857c65d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions data/Tigerfrake-Q.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ pragma solidity 0.8.0;
Lack of `zero-address validation` on `address parameters` may lead to `transaction reverts, waste gas, require resubmission of transactions and may even force contract redeployments` in certain cases within the protocol.

### Instances:
- https://github.com/code-423n4/2024-01-decent/blob/main/src%2Fswappers%2FUniSwapper.sol#L104
- https://github.com/code-423n4/2024-01-decent/blob/main/src%2Fswappers%2FUniSwapper.sol#L125

### Recommendation
Consider adding explicit zero-address validation on input parameters of address type.
Expand Down

0 comments on commit 857c65d

Please sign in to comment.