[Show All Known Solidity Compiler Bugs]

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.ethereum.org/2017/05/03/solidity-optimizer-bug/
- First Introduced:
- Fixed in version: 0.4.11
- Published:
- Severity: low
- Optimizer Used: true

low