mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Add ABIEncoderV2 storage array encoding bug to buglist
This commit is contained in:
parent
13c1409669
commit
6a5fabd004
@ -1,4 +1,15 @@
|
|||||||
[
|
[
|
||||||
|
{
|
||||||
|
"name": "ABIEncoderV2StorageArrayWithMultiSlotElement",
|
||||||
|
"summary": "Storage arrays containing structs or other arrays are not read properly when directly encoded in function calls or in abi.encode*.",
|
||||||
|
"description": "When storage arrays whose elements occupy more than a single storage slot are directly encoded in function calls or using abi.encode*, their elements are read in an overlapping manner, i.e. the element pointer is not properly advanced between reads. This is not a problem when the storage data is first copied to a memory variable.",
|
||||||
|
"introduced": "0.4.16",
|
||||||
|
"fixed": "0.5.10",
|
||||||
|
"severity": "low",
|
||||||
|
"conditions": {
|
||||||
|
"ABIEncoderV2": true
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "DynamicConstructorArgumentsClippedABIV2",
|
"name": "DynamicConstructorArgumentsClippedABIV2",
|
||||||
"summary": "A contract's constructor that takes structs or arrays that contain dynamically-sized arrays reverts or decodes to invalid data.",
|
"summary": "A contract's constructor that takes structs or arrays that contain dynamically-sized arrays reverts or decodes to invalid data.",
|
||||||
|
@ -452,6 +452,7 @@
|
|||||||
},
|
},
|
||||||
"0.4.16": {
|
"0.4.16": {
|
||||||
"bugs": [
|
"bugs": [
|
||||||
|
"ABIEncoderV2StorageArrayWithMultiSlotElement",
|
||||||
"DynamicConstructorArgumentsClippedABIV2",
|
"DynamicConstructorArgumentsClippedABIV2",
|
||||||
"UninitializedFunctionPointerInConstructor_0.4.x",
|
"UninitializedFunctionPointerInConstructor_0.4.x",
|
||||||
"IncorrectEventSignatureInLibraries_0.4.x",
|
"IncorrectEventSignatureInLibraries_0.4.x",
|
||||||
@ -463,6 +464,7 @@
|
|||||||
},
|
},
|
||||||
"0.4.17": {
|
"0.4.17": {
|
||||||
"bugs": [
|
"bugs": [
|
||||||
|
"ABIEncoderV2StorageArrayWithMultiSlotElement",
|
||||||
"DynamicConstructorArgumentsClippedABIV2",
|
"DynamicConstructorArgumentsClippedABIV2",
|
||||||
"UninitializedFunctionPointerInConstructor_0.4.x",
|
"UninitializedFunctionPointerInConstructor_0.4.x",
|
||||||
"IncorrectEventSignatureInLibraries_0.4.x",
|
"IncorrectEventSignatureInLibraries_0.4.x",
|
||||||
@ -475,6 +477,7 @@
|
|||||||
},
|
},
|
||||||
"0.4.18": {
|
"0.4.18": {
|
||||||
"bugs": [
|
"bugs": [
|
||||||
|
"ABIEncoderV2StorageArrayWithMultiSlotElement",
|
||||||
"DynamicConstructorArgumentsClippedABIV2",
|
"DynamicConstructorArgumentsClippedABIV2",
|
||||||
"UninitializedFunctionPointerInConstructor_0.4.x",
|
"UninitializedFunctionPointerInConstructor_0.4.x",
|
||||||
"IncorrectEventSignatureInLibraries_0.4.x",
|
"IncorrectEventSignatureInLibraries_0.4.x",
|
||||||
@ -486,6 +489,7 @@
|
|||||||
},
|
},
|
||||||
"0.4.19": {
|
"0.4.19": {
|
||||||
"bugs": [
|
"bugs": [
|
||||||
|
"ABIEncoderV2StorageArrayWithMultiSlotElement",
|
||||||
"DynamicConstructorArgumentsClippedABIV2",
|
"DynamicConstructorArgumentsClippedABIV2",
|
||||||
"UninitializedFunctionPointerInConstructor_0.4.x",
|
"UninitializedFunctionPointerInConstructor_0.4.x",
|
||||||
"IncorrectEventSignatureInLibraries_0.4.x",
|
"IncorrectEventSignatureInLibraries_0.4.x",
|
||||||
@ -514,6 +518,7 @@
|
|||||||
},
|
},
|
||||||
"0.4.20": {
|
"0.4.20": {
|
||||||
"bugs": [
|
"bugs": [
|
||||||
|
"ABIEncoderV2StorageArrayWithMultiSlotElement",
|
||||||
"DynamicConstructorArgumentsClippedABIV2",
|
"DynamicConstructorArgumentsClippedABIV2",
|
||||||
"UninitializedFunctionPointerInConstructor_0.4.x",
|
"UninitializedFunctionPointerInConstructor_0.4.x",
|
||||||
"IncorrectEventSignatureInLibraries_0.4.x",
|
"IncorrectEventSignatureInLibraries_0.4.x",
|
||||||
@ -526,6 +531,7 @@
|
|||||||
},
|
},
|
||||||
"0.4.21": {
|
"0.4.21": {
|
||||||
"bugs": [
|
"bugs": [
|
||||||
|
"ABIEncoderV2StorageArrayWithMultiSlotElement",
|
||||||
"DynamicConstructorArgumentsClippedABIV2",
|
"DynamicConstructorArgumentsClippedABIV2",
|
||||||
"UninitializedFunctionPointerInConstructor_0.4.x",
|
"UninitializedFunctionPointerInConstructor_0.4.x",
|
||||||
"IncorrectEventSignatureInLibraries_0.4.x",
|
"IncorrectEventSignatureInLibraries_0.4.x",
|
||||||
@ -538,6 +544,7 @@
|
|||||||
},
|
},
|
||||||
"0.4.22": {
|
"0.4.22": {
|
||||||
"bugs": [
|
"bugs": [
|
||||||
|
"ABIEncoderV2StorageArrayWithMultiSlotElement",
|
||||||
"DynamicConstructorArgumentsClippedABIV2",
|
"DynamicConstructorArgumentsClippedABIV2",
|
||||||
"UninitializedFunctionPointerInConstructor_0.4.x",
|
"UninitializedFunctionPointerInConstructor_0.4.x",
|
||||||
"IncorrectEventSignatureInLibraries_0.4.x",
|
"IncorrectEventSignatureInLibraries_0.4.x",
|
||||||
@ -550,6 +557,7 @@
|
|||||||
},
|
},
|
||||||
"0.4.23": {
|
"0.4.23": {
|
||||||
"bugs": [
|
"bugs": [
|
||||||
|
"ABIEncoderV2StorageArrayWithMultiSlotElement",
|
||||||
"DynamicConstructorArgumentsClippedABIV2",
|
"DynamicConstructorArgumentsClippedABIV2",
|
||||||
"UninitializedFunctionPointerInConstructor_0.4.x",
|
"UninitializedFunctionPointerInConstructor_0.4.x",
|
||||||
"IncorrectEventSignatureInLibraries_0.4.x",
|
"IncorrectEventSignatureInLibraries_0.4.x",
|
||||||
@ -561,6 +569,7 @@
|
|||||||
},
|
},
|
||||||
"0.4.24": {
|
"0.4.24": {
|
||||||
"bugs": [
|
"bugs": [
|
||||||
|
"ABIEncoderV2StorageArrayWithMultiSlotElement",
|
||||||
"DynamicConstructorArgumentsClippedABIV2",
|
"DynamicConstructorArgumentsClippedABIV2",
|
||||||
"UninitializedFunctionPointerInConstructor_0.4.x",
|
"UninitializedFunctionPointerInConstructor_0.4.x",
|
||||||
"IncorrectEventSignatureInLibraries_0.4.x",
|
"IncorrectEventSignatureInLibraries_0.4.x",
|
||||||
@ -572,6 +581,7 @@
|
|||||||
},
|
},
|
||||||
"0.4.25": {
|
"0.4.25": {
|
||||||
"bugs": [
|
"bugs": [
|
||||||
|
"ABIEncoderV2StorageArrayWithMultiSlotElement",
|
||||||
"DynamicConstructorArgumentsClippedABIV2",
|
"DynamicConstructorArgumentsClippedABIV2",
|
||||||
"UninitializedFunctionPointerInConstructor_0.4.x",
|
"UninitializedFunctionPointerInConstructor_0.4.x",
|
||||||
"IncorrectEventSignatureInLibraries_0.4.x",
|
"IncorrectEventSignatureInLibraries_0.4.x",
|
||||||
@ -581,6 +591,7 @@
|
|||||||
},
|
},
|
||||||
"0.4.26": {
|
"0.4.26": {
|
||||||
"bugs": [
|
"bugs": [
|
||||||
|
"ABIEncoderV2StorageArrayWithMultiSlotElement",
|
||||||
"DynamicConstructorArgumentsClippedABIV2"
|
"DynamicConstructorArgumentsClippedABIV2"
|
||||||
],
|
],
|
||||||
"released": "2019-04-29"
|
"released": "2019-04-29"
|
||||||
@ -689,6 +700,7 @@
|
|||||||
},
|
},
|
||||||
"0.5.0": {
|
"0.5.0": {
|
||||||
"bugs": [
|
"bugs": [
|
||||||
|
"ABIEncoderV2StorageArrayWithMultiSlotElement",
|
||||||
"DynamicConstructorArgumentsClippedABIV2",
|
"DynamicConstructorArgumentsClippedABIV2",
|
||||||
"UninitializedFunctionPointerInConstructor",
|
"UninitializedFunctionPointerInConstructor",
|
||||||
"IncorrectEventSignatureInLibraries",
|
"IncorrectEventSignatureInLibraries",
|
||||||
@ -698,6 +710,7 @@
|
|||||||
},
|
},
|
||||||
"0.5.1": {
|
"0.5.1": {
|
||||||
"bugs": [
|
"bugs": [
|
||||||
|
"ABIEncoderV2StorageArrayWithMultiSlotElement",
|
||||||
"DynamicConstructorArgumentsClippedABIV2",
|
"DynamicConstructorArgumentsClippedABIV2",
|
||||||
"UninitializedFunctionPointerInConstructor",
|
"UninitializedFunctionPointerInConstructor",
|
||||||
"IncorrectEventSignatureInLibraries",
|
"IncorrectEventSignatureInLibraries",
|
||||||
@ -707,6 +720,7 @@
|
|||||||
},
|
},
|
||||||
"0.5.2": {
|
"0.5.2": {
|
||||||
"bugs": [
|
"bugs": [
|
||||||
|
"ABIEncoderV2StorageArrayWithMultiSlotElement",
|
||||||
"DynamicConstructorArgumentsClippedABIV2",
|
"DynamicConstructorArgumentsClippedABIV2",
|
||||||
"UninitializedFunctionPointerInConstructor",
|
"UninitializedFunctionPointerInConstructor",
|
||||||
"IncorrectEventSignatureInLibraries",
|
"IncorrectEventSignatureInLibraries",
|
||||||
@ -716,6 +730,7 @@
|
|||||||
},
|
},
|
||||||
"0.5.3": {
|
"0.5.3": {
|
||||||
"bugs": [
|
"bugs": [
|
||||||
|
"ABIEncoderV2StorageArrayWithMultiSlotElement",
|
||||||
"DynamicConstructorArgumentsClippedABIV2",
|
"DynamicConstructorArgumentsClippedABIV2",
|
||||||
"UninitializedFunctionPointerInConstructor",
|
"UninitializedFunctionPointerInConstructor",
|
||||||
"IncorrectEventSignatureInLibraries",
|
"IncorrectEventSignatureInLibraries",
|
||||||
@ -725,6 +740,7 @@
|
|||||||
},
|
},
|
||||||
"0.5.4": {
|
"0.5.4": {
|
||||||
"bugs": [
|
"bugs": [
|
||||||
|
"ABIEncoderV2StorageArrayWithMultiSlotElement",
|
||||||
"DynamicConstructorArgumentsClippedABIV2",
|
"DynamicConstructorArgumentsClippedABIV2",
|
||||||
"UninitializedFunctionPointerInConstructor",
|
"UninitializedFunctionPointerInConstructor",
|
||||||
"IncorrectEventSignatureInLibraries",
|
"IncorrectEventSignatureInLibraries",
|
||||||
@ -734,6 +750,7 @@
|
|||||||
},
|
},
|
||||||
"0.5.5": {
|
"0.5.5": {
|
||||||
"bugs": [
|
"bugs": [
|
||||||
|
"ABIEncoderV2StorageArrayWithMultiSlotElement",
|
||||||
"DynamicConstructorArgumentsClippedABIV2",
|
"DynamicConstructorArgumentsClippedABIV2",
|
||||||
"UninitializedFunctionPointerInConstructor",
|
"UninitializedFunctionPointerInConstructor",
|
||||||
"IncorrectEventSignatureInLibraries",
|
"IncorrectEventSignatureInLibraries",
|
||||||
@ -745,6 +762,7 @@
|
|||||||
},
|
},
|
||||||
"0.5.6": {
|
"0.5.6": {
|
||||||
"bugs": [
|
"bugs": [
|
||||||
|
"ABIEncoderV2StorageArrayWithMultiSlotElement",
|
||||||
"DynamicConstructorArgumentsClippedABIV2",
|
"DynamicConstructorArgumentsClippedABIV2",
|
||||||
"UninitializedFunctionPointerInConstructor",
|
"UninitializedFunctionPointerInConstructor",
|
||||||
"IncorrectEventSignatureInLibraries",
|
"IncorrectEventSignatureInLibraries",
|
||||||
@ -755,6 +773,7 @@
|
|||||||
},
|
},
|
||||||
"0.5.7": {
|
"0.5.7": {
|
||||||
"bugs": [
|
"bugs": [
|
||||||
|
"ABIEncoderV2StorageArrayWithMultiSlotElement",
|
||||||
"DynamicConstructorArgumentsClippedABIV2",
|
"DynamicConstructorArgumentsClippedABIV2",
|
||||||
"UninitializedFunctionPointerInConstructor",
|
"UninitializedFunctionPointerInConstructor",
|
||||||
"IncorrectEventSignatureInLibraries"
|
"IncorrectEventSignatureInLibraries"
|
||||||
@ -763,12 +782,15 @@
|
|||||||
},
|
},
|
||||||
"0.5.8": {
|
"0.5.8": {
|
||||||
"bugs": [
|
"bugs": [
|
||||||
|
"ABIEncoderV2StorageArrayWithMultiSlotElement",
|
||||||
"DynamicConstructorArgumentsClippedABIV2"
|
"DynamicConstructorArgumentsClippedABIV2"
|
||||||
],
|
],
|
||||||
"released": "2019-04-30"
|
"released": "2019-04-30"
|
||||||
},
|
},
|
||||||
"0.5.9": {
|
"0.5.9": {
|
||||||
"bugs": [],
|
"bugs": [
|
||||||
|
"ABIEncoderV2StorageArrayWithMultiSlotElement"
|
||||||
|
],
|
||||||
"released": "2019-05-28"
|
"released": "2019-05-28"
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user