From 3c9af6716eaa1614e826423686cc9cda505e854e Mon Sep 17 00:00:00 2001 From: chriseth Date: Fri, 22 Mar 2019 14:07:39 +0100 Subject: [PATCH] Bug list entry. --- docs/bugs.json | 11 +++++++++++ docs/bugs_by_version.json | 32 ++++++++++++++++++++++++++------ 2 files changed, 37 insertions(+), 6 deletions(-) diff --git a/docs/bugs.json b/docs/bugs.json index 0d8a64849..55214f7d5 100644 --- a/docs/bugs.json +++ b/docs/bugs.json @@ -1,4 +1,15 @@ [ + { + "name": "ABIEncoderV2PackedStorage", + "summary": "Storage structs and arrays with types shorter than 32 bytes can cause data corruption if encoded directly from storage using the experimental ABIEncoderV2.", + "description": "Elements of structs and arrays that are shorter than 32 bytes are not properly decoded from storage when encoded directly (i.e. not via a memory type) using ABIEncoderV2. This can cause corruption in the values themselves but can also overwrite other parts of the encoded data.", + "introduced": "0.4.19", + "fixed": "0.5.7", + "severity": "low", + "conditions": { + "ABIEncoderV2": true + } + }, { "name": "IncorrectByteInstructionOptimization", "summary": "The optimizer incorrectly handles byte opcodes whose second argument is 31 or a constant expression that evaluates to 31. This can result in unexpected values.", diff --git a/docs/bugs_by_version.json b/docs/bugs_by_version.json index b0fe056d6..87bd1310b 100644 --- a/docs/bugs_by_version.json +++ b/docs/bugs_by_version.json @@ -456,6 +456,7 @@ }, "0.4.19": { "bugs": [ + "ABIEncoderV2PackedStorage", "ExpExponentCleanup", "EventStructWrongData", "NestedArrayFunctionCallDecoder" @@ -479,6 +480,7 @@ }, "0.4.20": { "bugs": [ + "ABIEncoderV2PackedStorage", "ExpExponentCleanup", "EventStructWrongData", "NestedArrayFunctionCallDecoder" @@ -487,6 +489,7 @@ }, "0.4.21": { "bugs": [ + "ABIEncoderV2PackedStorage", "ExpExponentCleanup", "EventStructWrongData", "NestedArrayFunctionCallDecoder" @@ -495,6 +498,7 @@ }, "0.4.22": { "bugs": [ + "ABIEncoderV2PackedStorage", "ExpExponentCleanup", "EventStructWrongData", "OneOfTwoConstructorsSkipped" @@ -503,6 +507,7 @@ }, "0.4.23": { "bugs": [ + "ABIEncoderV2PackedStorage", "ExpExponentCleanup", "EventStructWrongData" ], @@ -510,13 +515,16 @@ }, "0.4.24": { "bugs": [ + "ABIEncoderV2PackedStorage", "ExpExponentCleanup", "EventStructWrongData" ], "released": "2018-05-16" }, "0.4.25": { - "bugs": [], + "bugs": [ + "ABIEncoderV2PackedStorage" + ], "released": "2018-09-12" }, "0.4.3": { @@ -610,27 +618,38 @@ "released": "2017-01-31" }, "0.5.0": { - "bugs": [], + "bugs": [ + "ABIEncoderV2PackedStorage" + ], "released": "2018-11-13" }, "0.5.1": { - "bugs": [], + "bugs": [ + "ABIEncoderV2PackedStorage" + ], "released": "2018-12-03" }, "0.5.2": { - "bugs": [], + "bugs": [ + "ABIEncoderV2PackedStorage" + ], "released": "2018-12-19" }, "0.5.3": { - "bugs": [], + "bugs": [ + "ABIEncoderV2PackedStorage" + ], "released": "2019-01-22" }, "0.5.4": { - "bugs": [], + "bugs": [ + "ABIEncoderV2PackedStorage" + ], "released": "2019-02-12" }, "0.5.5": { "bugs": [ + "ABIEncoderV2PackedStorage", "IncorrectByteInstructionOptimization", "DoubleShiftSizeOverflow" ], @@ -638,6 +657,7 @@ }, "0.5.6": { "bugs": [ + "ABIEncoderV2PackedStorage", "IncorrectByteInstructionOptimization" ], "released": "2019-03-13"