aboutsummaryrefslogtreecommitdiffstats
path: root/docs/bugs.json
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2017-04-27 18:23:46 +0800
committerchriseth <chris@ethereum.org>2017-05-02 18:22:11 +0800
commitd87eb978956d0859c32af2127dac0050d8e302d6 (patch)
tree24950dcd2926ac4936f87349f7e6b2ae9911c1ed /docs/bugs.json
parent5c4f3f6d0b5d289accb3fb51964a44eca2b9d818 (diff)
downloaddexon-solidity-d87eb978956d0859c32af2127dac0050d8e302d6.tar.gz
dexon-solidity-d87eb978956d0859c32af2127dac0050d8e302d6.tar.zst
dexon-solidity-d87eb978956d0859c32af2127dac0050d8e302d6.zip
Add entry to bug list.
Diffstat (limited to 'docs/bugs.json')
-rw-r--r--docs/bugs.json12
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/bugs.json b/docs/bugs.json
index 2a8d167a..ba994932 100644
--- a/docs/bugs.json
+++ b/docs/bugs.json
@@ -1,5 +1,17 @@
[
{
+ "name": "ConstantOptimizerSubtraction",
+ "short": "In some situations, the optimizer replaces certain numbers in the code with routines that compute different numbers.",
+ "long": "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": "",
+ "introduced": "0.0.0",
+ "fixed": "0.4.11",
+ "severity": "low",
+ "check": {
+ "optimizer": true
+ }
+ },
+ {
"name": "IdentityPrecompileReturnIgnored",
"summary": "Failure of the identity precompile was ignored.",
"description": "Calls to the identity contract, which is used for copying memory, ignored its return value. On the public chain, calls to the identity precompile can be made in a way that they never fail, but this might be different on private chains.",