ETH Price: $1,583.83 (-0.91%)

Solidity Bug Info

Bug Name Description Severity
ConstantOptimizerSubtraction
In some situations, the optimizer replaces certain numbers in the code with routines that compute different numbers.
The optimizer tries to represent any number in the bytecode by routines that compute them with less gas. For some special numbers, an incorrect routine is generated. This could allow an attacker to e.g. trick victims about a specific amount of ether, or function calls to call different functions (or none at all).

- Link: https://blog.soliditylang.org/2017/05/03/solidity-optimizer-bug/
- First Introduced:
- Fixed in Version: 0.4.11
- Published:
- Severity<: low
- Optimizer Used: true

low