aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-09-10 22:33:47 +0800
committerGitHub <noreply@github.com>2018-09-10 22:33:47 +0800
commit6402b8382661ae738faa07c9dbd9af6358e61f6c (patch)
tree77a6636ab3583bbd240e1203ab8fd6b6d7819cc2 /docs
parentb9164eaba2a192428a27bac045c529c438599af7 (diff)
parent3b7be594cf046cc34864cefbd3cf0f5159770163 (diff)
downloaddexon-solidity-6402b8382661ae738faa07c9dbd9af6358e61f6c.tar
dexon-solidity-6402b8382661ae738faa07c9dbd9af6358e61f6c.tar.gz
dexon-solidity-6402b8382661ae738faa07c9dbd9af6358e61f6c.tar.bz2
dexon-solidity-6402b8382661ae738faa07c9dbd9af6358e61f6c.tar.lz
dexon-solidity-6402b8382661ae738faa07c9dbd9af6358e61f6c.tar.xz
dexon-solidity-6402b8382661ae738faa07c9dbd9af6358e61f6c.tar.zst
dexon-solidity-6402b8382661ae738faa07c9dbd9af6358e61f6c.zip
Merge pull request #4938 from ethereum/expCleanup0425
[backport] Exp cleanup
Diffstat (limited to 'docs')
-rw-r--r--docs/bugs.json8
-rw-r--r--docs/bugs_by_version.json55
2 files changed, 57 insertions, 6 deletions
diff --git a/docs/bugs.json b/docs/bugs.json
index 423c314d..560176d1 100644
--- a/docs/bugs.json
+++ b/docs/bugs.json
@@ -8,6 +8,14 @@
"severity": "very low"
},
{
+ "name": "ExpExponentCleanup",
+ "summary": "Using the ** operator with an exponent of type shorter than 256 bits can result in unexpected values.",
+ "description": "Higher order bits in the exponent are not properly cleaned before the EXP opcode is applied if the type of the exponent expression is smaller than 256 bits and not smaller than the type of the base. In that case, the result might be larger than expected if the exponent is assumed to lie within the value range of the type. Literal numbers as exponents are unaffected as are exponents or bases of type uint256.",
+ "fixed": "0.4.25",
+ "severity": "medium/high",
+ "check": {"regex-source": "[^/]\\*\\* *[^/0-9 ]"}
+ },
+ {
"name": "OneOfTwoConstructorsSkipped",
"summary": "If a contract has both a new-style constructor (using the constructor keyword) and an old-style constructor (a function with the same name as the contract) at the same time, one of them will be ignored.",
"description": "If a contract has both a new-style constructor (using the constructor keyword) and an old-style constructor (a function with the same name as the contract) at the same time, one of them will be ignored. There will be a compiler warning about the old-style constructor, so contracts only using new-style constructors are fine.",
diff --git a/docs/bugs_by_version.json b/docs/bugs_by_version.json
index 00531b9e..d678bf21 100644
--- a/docs/bugs_by_version.json
+++ b/docs/bugs_by_version.json
@@ -1,6 +1,7 @@
{
"0.1.0": {
"bugs": [
+ "ExpExponentCleanup",
"ZeroFunctionSelector",
"ECRecoverMalformedInput",
"SkipEmptyStringLiteral",
@@ -18,6 +19,7 @@
},
"0.1.1": {
"bugs": [
+ "ExpExponentCleanup",
"ZeroFunctionSelector",
"ECRecoverMalformedInput",
"SkipEmptyStringLiteral",
@@ -35,6 +37,7 @@
},
"0.1.2": {
"bugs": [
+ "ExpExponentCleanup",
"ZeroFunctionSelector",
"ECRecoverMalformedInput",
"SkipEmptyStringLiteral",
@@ -52,6 +55,7 @@
},
"0.1.3": {
"bugs": [
+ "ExpExponentCleanup",
"ZeroFunctionSelector",
"ECRecoverMalformedInput",
"SkipEmptyStringLiteral",
@@ -69,6 +73,7 @@
},
"0.1.4": {
"bugs": [
+ "ExpExponentCleanup",
"ZeroFunctionSelector",
"ECRecoverMalformedInput",
"SkipEmptyStringLiteral",
@@ -86,6 +91,7 @@
},
"0.1.5": {
"bugs": [
+ "ExpExponentCleanup",
"ZeroFunctionSelector",
"ECRecoverMalformedInput",
"SkipEmptyStringLiteral",
@@ -103,6 +109,7 @@
},
"0.1.6": {
"bugs": [
+ "ExpExponentCleanup",
"ZeroFunctionSelector",
"ECRecoverMalformedInput",
"SkipEmptyStringLiteral",
@@ -121,6 +128,7 @@
},
"0.1.7": {
"bugs": [
+ "ExpExponentCleanup",
"ZeroFunctionSelector",
"ECRecoverMalformedInput",
"SkipEmptyStringLiteral",
@@ -139,6 +147,7 @@
},
"0.2.0": {
"bugs": [
+ "ExpExponentCleanup",
"ZeroFunctionSelector",
"ECRecoverMalformedInput",
"SkipEmptyStringLiteral",
@@ -157,6 +166,7 @@
},
"0.2.1": {
"bugs": [
+ "ExpExponentCleanup",
"ZeroFunctionSelector",
"ECRecoverMalformedInput",
"SkipEmptyStringLiteral",
@@ -175,6 +185,7 @@
},
"0.2.2": {
"bugs": [
+ "ExpExponentCleanup",
"ZeroFunctionSelector",
"ECRecoverMalformedInput",
"SkipEmptyStringLiteral",
@@ -193,6 +204,7 @@
},
"0.3.0": {
"bugs": [
+ "ExpExponentCleanup",
"ZeroFunctionSelector",
"DelegateCallReturnValue",
"ECRecoverMalformedInput",
@@ -211,6 +223,7 @@
},
"0.3.1": {
"bugs": [
+ "ExpExponentCleanup",
"ZeroFunctionSelector",
"DelegateCallReturnValue",
"ECRecoverMalformedInput",
@@ -228,6 +241,7 @@
},
"0.3.2": {
"bugs": [
+ "ExpExponentCleanup",
"ZeroFunctionSelector",
"DelegateCallReturnValue",
"ECRecoverMalformedInput",
@@ -245,6 +259,7 @@
},
"0.3.3": {
"bugs": [
+ "ExpExponentCleanup",
"ZeroFunctionSelector",
"DelegateCallReturnValue",
"ECRecoverMalformedInput",
@@ -261,6 +276,7 @@
},
"0.3.4": {
"bugs": [
+ "ExpExponentCleanup",
"ZeroFunctionSelector",
"DelegateCallReturnValue",
"ECRecoverMalformedInput",
@@ -277,6 +293,7 @@
},
"0.3.5": {
"bugs": [
+ "ExpExponentCleanup",
"ZeroFunctionSelector",
"DelegateCallReturnValue",
"ECRecoverMalformedInput",
@@ -293,6 +310,7 @@
},
"0.3.6": {
"bugs": [
+ "ExpExponentCleanup",
"ZeroFunctionSelector",
"DelegateCallReturnValue",
"ECRecoverMalformedInput",
@@ -307,6 +325,7 @@
},
"0.4.0": {
"bugs": [
+ "ExpExponentCleanup",
"ZeroFunctionSelector",
"DelegateCallReturnValue",
"ECRecoverMalformedInput",
@@ -321,6 +340,7 @@
},
"0.4.1": {
"bugs": [
+ "ExpExponentCleanup",
"ZeroFunctionSelector",
"DelegateCallReturnValue",
"ECRecoverMalformedInput",
@@ -335,6 +355,7 @@
},
"0.4.10": {
"bugs": [
+ "ExpExponentCleanup",
"ZeroFunctionSelector",
"DelegateCallReturnValue",
"ECRecoverMalformedInput",
@@ -345,6 +366,7 @@
},
"0.4.11": {
"bugs": [
+ "ExpExponentCleanup",
"ZeroFunctionSelector",
"DelegateCallReturnValue",
"ECRecoverMalformedInput",
@@ -354,6 +376,7 @@
},
"0.4.12": {
"bugs": [
+ "ExpExponentCleanup",
"ZeroFunctionSelector",
"DelegateCallReturnValue",
"ECRecoverMalformedInput"
@@ -362,6 +385,7 @@
},
"0.4.13": {
"bugs": [
+ "ExpExponentCleanup",
"ZeroFunctionSelector",
"DelegateCallReturnValue",
"ECRecoverMalformedInput"
@@ -370,6 +394,7 @@
},
"0.4.14": {
"bugs": [
+ "ExpExponentCleanup",
"ZeroFunctionSelector",
"DelegateCallReturnValue"
],
@@ -377,12 +402,14 @@
},
"0.4.15": {
"bugs": [
+ "ExpExponentCleanup",
"ZeroFunctionSelector"
],
"released": "2017-08-08"
},
"0.4.16": {
"bugs": [
+ "ExpExponentCleanup",
"ZeroFunctionSelector"
],
"released": "2017-08-24"
@@ -390,24 +417,28 @@
"0.4.17": {
"bugs": [
"EventStructWrongData",
+ "ExpExponentCleanup",
"ZeroFunctionSelector"
],
"released": "2017-09-21"
},
"0.4.18": {
"bugs": [
- "EventStructWrongData"
+ "EventStructWrongData",
+ "ExpExponentCleanup"
],
"released": "2017-10-18"
},
"0.4.19": {
"bugs": [
- "EventStructWrongData"
+ "EventStructWrongData",
+ "ExpExponentCleanup"
],
"released": "2017-11-30"
},
"0.4.2": {
"bugs": [
+ "ExpExponentCleanup",
"ZeroFunctionSelector",
"DelegateCallReturnValue",
"ECRecoverMalformedInput",
@@ -421,37 +452,43 @@
},
"0.4.20": {
"bugs": [
- "EventStructWrongData"
+ "EventStructWrongData",
+ "ExpExponentCleanup"
],
"released": "2018-02-14"
},
"0.4.21": {
"bugs": [
- "EventStructWrongData"
+ "EventStructWrongData",
+ "ExpExponentCleanup"
],
"released": "2018-03-07"
},
"0.4.22": {
"bugs": [
"EventStructWrongData",
+ "ExpExponentCleanup",
"OneOfTwoConstructorsSkipped"
],
"released": "2018-04-16"
},
"0.4.23": {
"bugs": [
- "EventStructWrongData"
+ "EventStructWrongData",
+ "ExpExponentCleanup"
],
"released": "2018-04-19"
},
"0.4.24": {
"bugs": [
- "EventStructWrongData"
+ "EventStructWrongData",
+ "ExpExponentCleanup"
],
"released": "2018-05-16"
},
"0.4.3": {
"bugs": [
+ "ExpExponentCleanup",
"ZeroFunctionSelector",
"DelegateCallReturnValue",
"ECRecoverMalformedInput",
@@ -464,6 +501,7 @@
},
"0.4.4": {
"bugs": [
+ "ExpExponentCleanup",
"ZeroFunctionSelector",
"DelegateCallReturnValue",
"ECRecoverMalformedInput",
@@ -475,6 +513,7 @@
},
"0.4.5": {
"bugs": [
+ "ExpExponentCleanup",
"ZeroFunctionSelector",
"DelegateCallReturnValue",
"ECRecoverMalformedInput",
@@ -487,6 +526,7 @@
},
"0.4.6": {
"bugs": [
+ "ExpExponentCleanup",
"ZeroFunctionSelector",
"DelegateCallReturnValue",
"ECRecoverMalformedInput",
@@ -498,6 +538,7 @@
},
"0.4.7": {
"bugs": [
+ "ExpExponentCleanup",
"ZeroFunctionSelector",
"DelegateCallReturnValue",
"ECRecoverMalformedInput",
@@ -508,6 +549,7 @@
},
"0.4.8": {
"bugs": [
+ "ExpExponentCleanup",
"ZeroFunctionSelector",
"DelegateCallReturnValue",
"ECRecoverMalformedInput",
@@ -518,6 +560,7 @@
},
"0.4.9": {
"bugs": [
+ "ExpExponentCleanup",
"ZeroFunctionSelector",
"DelegateCallReturnValue",
"ECRecoverMalformedInput",