mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Add entry to bug list.
This commit is contained in:
parent
5c4f3f6d0b
commit
d87eb97895
@ -1,4 +1,16 @@
|
|||||||
[
|
[
|
||||||
|
{
|
||||||
|
"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",
|
"name": "IdentityPrecompileReturnIgnored",
|
||||||
"summary": "Failure of the identity precompile was ignored.",
|
"summary": "Failure of the identity precompile was ignored.",
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
{
|
{
|
||||||
"0.1.0": {
|
"0.1.0": {
|
||||||
"bugs": [
|
"bugs": [
|
||||||
|
"ConstantOptimizerSubtraction",
|
||||||
"IdentityPrecompileReturnIgnored",
|
"IdentityPrecompileReturnIgnored",
|
||||||
"OptimizerStaleKnowledgeAboutSHA3",
|
"OptimizerStaleKnowledgeAboutSHA3",
|
||||||
"SendFailsForZeroEther",
|
"SendFailsForZeroEther",
|
||||||
@ -14,6 +15,7 @@
|
|||||||
},
|
},
|
||||||
"0.1.1": {
|
"0.1.1": {
|
||||||
"bugs": [
|
"bugs": [
|
||||||
|
"ConstantOptimizerSubtraction",
|
||||||
"IdentityPrecompileReturnIgnored",
|
"IdentityPrecompileReturnIgnored",
|
||||||
"OptimizerStaleKnowledgeAboutSHA3",
|
"OptimizerStaleKnowledgeAboutSHA3",
|
||||||
"SendFailsForZeroEther",
|
"SendFailsForZeroEther",
|
||||||
@ -27,6 +29,7 @@
|
|||||||
},
|
},
|
||||||
"0.1.2": {
|
"0.1.2": {
|
||||||
"bugs": [
|
"bugs": [
|
||||||
|
"ConstantOptimizerSubtraction",
|
||||||
"IdentityPrecompileReturnIgnored",
|
"IdentityPrecompileReturnIgnored",
|
||||||
"OptimizerStaleKnowledgeAboutSHA3",
|
"OptimizerStaleKnowledgeAboutSHA3",
|
||||||
"SendFailsForZeroEther",
|
"SendFailsForZeroEther",
|
||||||
@ -40,6 +43,7 @@
|
|||||||
},
|
},
|
||||||
"0.1.3": {
|
"0.1.3": {
|
||||||
"bugs": [
|
"bugs": [
|
||||||
|
"ConstantOptimizerSubtraction",
|
||||||
"IdentityPrecompileReturnIgnored",
|
"IdentityPrecompileReturnIgnored",
|
||||||
"OptimizerStaleKnowledgeAboutSHA3",
|
"OptimizerStaleKnowledgeAboutSHA3",
|
||||||
"SendFailsForZeroEther",
|
"SendFailsForZeroEther",
|
||||||
@ -53,6 +57,7 @@
|
|||||||
},
|
},
|
||||||
"0.1.4": {
|
"0.1.4": {
|
||||||
"bugs": [
|
"bugs": [
|
||||||
|
"ConstantOptimizerSubtraction",
|
||||||
"IdentityPrecompileReturnIgnored",
|
"IdentityPrecompileReturnIgnored",
|
||||||
"OptimizerStaleKnowledgeAboutSHA3",
|
"OptimizerStaleKnowledgeAboutSHA3",
|
||||||
"SendFailsForZeroEther",
|
"SendFailsForZeroEther",
|
||||||
@ -66,6 +71,7 @@
|
|||||||
},
|
},
|
||||||
"0.1.5": {
|
"0.1.5": {
|
||||||
"bugs": [
|
"bugs": [
|
||||||
|
"ConstantOptimizerSubtraction",
|
||||||
"IdentityPrecompileReturnIgnored",
|
"IdentityPrecompileReturnIgnored",
|
||||||
"OptimizerStaleKnowledgeAboutSHA3",
|
"OptimizerStaleKnowledgeAboutSHA3",
|
||||||
"SendFailsForZeroEther",
|
"SendFailsForZeroEther",
|
||||||
@ -79,6 +85,7 @@
|
|||||||
},
|
},
|
||||||
"0.1.6": {
|
"0.1.6": {
|
||||||
"bugs": [
|
"bugs": [
|
||||||
|
"ConstantOptimizerSubtraction",
|
||||||
"IdentityPrecompileReturnIgnored",
|
"IdentityPrecompileReturnIgnored",
|
||||||
"HighOrderByteCleanStorage",
|
"HighOrderByteCleanStorage",
|
||||||
"OptimizerStaleKnowledgeAboutSHA3",
|
"OptimizerStaleKnowledgeAboutSHA3",
|
||||||
@ -93,6 +100,7 @@
|
|||||||
},
|
},
|
||||||
"0.1.7": {
|
"0.1.7": {
|
||||||
"bugs": [
|
"bugs": [
|
||||||
|
"ConstantOptimizerSubtraction",
|
||||||
"IdentityPrecompileReturnIgnored",
|
"IdentityPrecompileReturnIgnored",
|
||||||
"HighOrderByteCleanStorage",
|
"HighOrderByteCleanStorage",
|
||||||
"OptimizerStaleKnowledgeAboutSHA3",
|
"OptimizerStaleKnowledgeAboutSHA3",
|
||||||
@ -107,6 +115,7 @@
|
|||||||
},
|
},
|
||||||
"0.2.0": {
|
"0.2.0": {
|
||||||
"bugs": [
|
"bugs": [
|
||||||
|
"ConstantOptimizerSubtraction",
|
||||||
"IdentityPrecompileReturnIgnored",
|
"IdentityPrecompileReturnIgnored",
|
||||||
"HighOrderByteCleanStorage",
|
"HighOrderByteCleanStorage",
|
||||||
"OptimizerStaleKnowledgeAboutSHA3",
|
"OptimizerStaleKnowledgeAboutSHA3",
|
||||||
@ -121,6 +130,7 @@
|
|||||||
},
|
},
|
||||||
"0.2.1": {
|
"0.2.1": {
|
||||||
"bugs": [
|
"bugs": [
|
||||||
|
"ConstantOptimizerSubtraction",
|
||||||
"IdentityPrecompileReturnIgnored",
|
"IdentityPrecompileReturnIgnored",
|
||||||
"HighOrderByteCleanStorage",
|
"HighOrderByteCleanStorage",
|
||||||
"OptimizerStaleKnowledgeAboutSHA3",
|
"OptimizerStaleKnowledgeAboutSHA3",
|
||||||
@ -135,6 +145,7 @@
|
|||||||
},
|
},
|
||||||
"0.2.2": {
|
"0.2.2": {
|
||||||
"bugs": [
|
"bugs": [
|
||||||
|
"ConstantOptimizerSubtraction",
|
||||||
"IdentityPrecompileReturnIgnored",
|
"IdentityPrecompileReturnIgnored",
|
||||||
"HighOrderByteCleanStorage",
|
"HighOrderByteCleanStorage",
|
||||||
"OptimizerStaleKnowledgeAboutSHA3",
|
"OptimizerStaleKnowledgeAboutSHA3",
|
||||||
@ -149,6 +160,7 @@
|
|||||||
},
|
},
|
||||||
"0.3.0": {
|
"0.3.0": {
|
||||||
"bugs": [
|
"bugs": [
|
||||||
|
"ConstantOptimizerSubtraction",
|
||||||
"IdentityPrecompileReturnIgnored",
|
"IdentityPrecompileReturnIgnored",
|
||||||
"HighOrderByteCleanStorage",
|
"HighOrderByteCleanStorage",
|
||||||
"OptimizerStaleKnowledgeAboutSHA3",
|
"OptimizerStaleKnowledgeAboutSHA3",
|
||||||
@ -162,6 +174,7 @@
|
|||||||
},
|
},
|
||||||
"0.3.1": {
|
"0.3.1": {
|
||||||
"bugs": [
|
"bugs": [
|
||||||
|
"ConstantOptimizerSubtraction",
|
||||||
"IdentityPrecompileReturnIgnored",
|
"IdentityPrecompileReturnIgnored",
|
||||||
"HighOrderByteCleanStorage",
|
"HighOrderByteCleanStorage",
|
||||||
"OptimizerStaleKnowledgeAboutSHA3",
|
"OptimizerStaleKnowledgeAboutSHA3",
|
||||||
@ -174,6 +187,7 @@
|
|||||||
},
|
},
|
||||||
"0.3.2": {
|
"0.3.2": {
|
||||||
"bugs": [
|
"bugs": [
|
||||||
|
"ConstantOptimizerSubtraction",
|
||||||
"IdentityPrecompileReturnIgnored",
|
"IdentityPrecompileReturnIgnored",
|
||||||
"HighOrderByteCleanStorage",
|
"HighOrderByteCleanStorage",
|
||||||
"OptimizerStaleKnowledgeAboutSHA3",
|
"OptimizerStaleKnowledgeAboutSHA3",
|
||||||
@ -186,6 +200,7 @@
|
|||||||
},
|
},
|
||||||
"0.3.3": {
|
"0.3.3": {
|
||||||
"bugs": [
|
"bugs": [
|
||||||
|
"ConstantOptimizerSubtraction",
|
||||||
"IdentityPrecompileReturnIgnored",
|
"IdentityPrecompileReturnIgnored",
|
||||||
"HighOrderByteCleanStorage",
|
"HighOrderByteCleanStorage",
|
||||||
"OptimizerStaleKnowledgeAboutSHA3",
|
"OptimizerStaleKnowledgeAboutSHA3",
|
||||||
@ -197,6 +212,7 @@
|
|||||||
},
|
},
|
||||||
"0.3.4": {
|
"0.3.4": {
|
||||||
"bugs": [
|
"bugs": [
|
||||||
|
"ConstantOptimizerSubtraction",
|
||||||
"IdentityPrecompileReturnIgnored",
|
"IdentityPrecompileReturnIgnored",
|
||||||
"HighOrderByteCleanStorage",
|
"HighOrderByteCleanStorage",
|
||||||
"OptimizerStaleKnowledgeAboutSHA3",
|
"OptimizerStaleKnowledgeAboutSHA3",
|
||||||
@ -208,6 +224,7 @@
|
|||||||
},
|
},
|
||||||
"0.3.5": {
|
"0.3.5": {
|
||||||
"bugs": [
|
"bugs": [
|
||||||
|
"ConstantOptimizerSubtraction",
|
||||||
"IdentityPrecompileReturnIgnored",
|
"IdentityPrecompileReturnIgnored",
|
||||||
"HighOrderByteCleanStorage",
|
"HighOrderByteCleanStorage",
|
||||||
"OptimizerStaleKnowledgeAboutSHA3",
|
"OptimizerStaleKnowledgeAboutSHA3",
|
||||||
@ -219,6 +236,7 @@
|
|||||||
},
|
},
|
||||||
"0.3.6": {
|
"0.3.6": {
|
||||||
"bugs": [
|
"bugs": [
|
||||||
|
"ConstantOptimizerSubtraction",
|
||||||
"IdentityPrecompileReturnIgnored",
|
"IdentityPrecompileReturnIgnored",
|
||||||
"HighOrderByteCleanStorage",
|
"HighOrderByteCleanStorage",
|
||||||
"OptimizerStaleKnowledgeAboutSHA3",
|
"OptimizerStaleKnowledgeAboutSHA3",
|
||||||
@ -228,6 +246,7 @@
|
|||||||
},
|
},
|
||||||
"0.4.0": {
|
"0.4.0": {
|
||||||
"bugs": [
|
"bugs": [
|
||||||
|
"ConstantOptimizerSubtraction",
|
||||||
"IdentityPrecompileReturnIgnored",
|
"IdentityPrecompileReturnIgnored",
|
||||||
"HighOrderByteCleanStorage",
|
"HighOrderByteCleanStorage",
|
||||||
"OptimizerStaleKnowledgeAboutSHA3",
|
"OptimizerStaleKnowledgeAboutSHA3",
|
||||||
@ -237,6 +256,7 @@
|
|||||||
},
|
},
|
||||||
"0.4.1": {
|
"0.4.1": {
|
||||||
"bugs": [
|
"bugs": [
|
||||||
|
"ConstantOptimizerSubtraction",
|
||||||
"IdentityPrecompileReturnIgnored",
|
"IdentityPrecompileReturnIgnored",
|
||||||
"HighOrderByteCleanStorage",
|
"HighOrderByteCleanStorage",
|
||||||
"OptimizerStaleKnowledgeAboutSHA3",
|
"OptimizerStaleKnowledgeAboutSHA3",
|
||||||
@ -245,11 +265,14 @@
|
|||||||
"released": "2016-09-09"
|
"released": "2016-09-09"
|
||||||
},
|
},
|
||||||
"0.4.10": {
|
"0.4.10": {
|
||||||
"bugs": [],
|
"bugs": [
|
||||||
|
"ConstantOptimizerSubtraction"
|
||||||
|
],
|
||||||
"released": "2017-03-15"
|
"released": "2017-03-15"
|
||||||
},
|
},
|
||||||
"0.4.2": {
|
"0.4.2": {
|
||||||
"bugs": [
|
"bugs": [
|
||||||
|
"ConstantOptimizerSubtraction",
|
||||||
"IdentityPrecompileReturnIgnored",
|
"IdentityPrecompileReturnIgnored",
|
||||||
"HighOrderByteCleanStorage",
|
"HighOrderByteCleanStorage",
|
||||||
"OptimizerStaleKnowledgeAboutSHA3"
|
"OptimizerStaleKnowledgeAboutSHA3"
|
||||||
@ -258,6 +281,7 @@
|
|||||||
},
|
},
|
||||||
"0.4.3": {
|
"0.4.3": {
|
||||||
"bugs": [
|
"bugs": [
|
||||||
|
"ConstantOptimizerSubtraction",
|
||||||
"IdentityPrecompileReturnIgnored",
|
"IdentityPrecompileReturnIgnored",
|
||||||
"HighOrderByteCleanStorage"
|
"HighOrderByteCleanStorage"
|
||||||
],
|
],
|
||||||
@ -265,12 +289,14 @@
|
|||||||
},
|
},
|
||||||
"0.4.4": {
|
"0.4.4": {
|
||||||
"bugs": [
|
"bugs": [
|
||||||
|
"ConstantOptimizerSubtraction",
|
||||||
"IdentityPrecompileReturnIgnored"
|
"IdentityPrecompileReturnIgnored"
|
||||||
],
|
],
|
||||||
"released": "2016-10-31"
|
"released": "2016-10-31"
|
||||||
},
|
},
|
||||||
"0.4.5": {
|
"0.4.5": {
|
||||||
"bugs": [
|
"bugs": [
|
||||||
|
"ConstantOptimizerSubtraction",
|
||||||
"IdentityPrecompileReturnIgnored",
|
"IdentityPrecompileReturnIgnored",
|
||||||
"OptimizerStateKnowledgeNotResetForJumpdest"
|
"OptimizerStateKnowledgeNotResetForJumpdest"
|
||||||
],
|
],
|
||||||
@ -278,20 +304,27 @@
|
|||||||
},
|
},
|
||||||
"0.4.6": {
|
"0.4.6": {
|
||||||
"bugs": [
|
"bugs": [
|
||||||
|
"ConstantOptimizerSubtraction",
|
||||||
"IdentityPrecompileReturnIgnored"
|
"IdentityPrecompileReturnIgnored"
|
||||||
],
|
],
|
||||||
"released": "2016-11-22"
|
"released": "2016-11-22"
|
||||||
},
|
},
|
||||||
"0.4.7": {
|
"0.4.7": {
|
||||||
"bugs": [],
|
"bugs": [
|
||||||
|
"ConstantOptimizerSubtraction"
|
||||||
|
],
|
||||||
"released": "2016-12-15"
|
"released": "2016-12-15"
|
||||||
},
|
},
|
||||||
"0.4.8": {
|
"0.4.8": {
|
||||||
"bugs": [],
|
"bugs": [
|
||||||
|
"ConstantOptimizerSubtraction"
|
||||||
|
],
|
||||||
"released": "2017-01-13"
|
"released": "2017-01-13"
|
||||||
},
|
},
|
||||||
"0.4.9": {
|
"0.4.9": {
|
||||||
"bugs": [],
|
"bugs": [
|
||||||
|
"ConstantOptimizerSubtraction"
|
||||||
|
],
|
||||||
"released": "2017-01-31"
|
"released": "2017-01-31"
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user