From 0bad372aee3b24fcf98343474d428d5ab8119b0c Mon Sep 17 00:00:00 2001 From: Yusuf Benli Date: Wed, 27 Jul 2022 19:50:25 +0300 Subject: [PATCH] Fix buglist typo: NestedCallataArrayAbiReencodingSizeValidation -> NestedCalldataArrayAbiReencodingSizeValidation Misspelling fix --- docs/bugs.json | 2 +- docs/bugs_by_version.json | 88 +++++++++++++++++++-------------------- 2 files changed, 45 insertions(+), 45 deletions(-) diff --git a/docs/bugs.json b/docs/bugs.json index 03dafbe45..9c9780c93 100644 --- a/docs/bugs.json +++ b/docs/bugs.json @@ -60,7 +60,7 @@ }, { "uid": "SOL-2022-2", - "name": "NestedCallataArrayAbiReencodingSizeValidation", + "name": "NestedCalldataArrayAbiReencodingSizeValidation", "summary": "ABI-reencoding of nested dynamic calldata arrays did not always perform proper size checks against the size of calldata and could read beyond ``calldatasize()``.", "description": "Calldata validation for nested dynamic types is deferred until the first access to the nested values. Such an access may for example be a copy to memory or an index or member access to the outer type. While in most such accesses calldata validation correctly checks that the data area of the nested array is completely contained in the passed calldata (i.e. in the range [0, calldatasize()]), this check may not be performed, when ABI encoding such nested types again directly from calldata. For instance, this can happen, if a value in calldata with a nested dynamic array is passed to an external call, used in ``abi.encode`` or emitted as event. In such cases, if the data area of the nested array extends beyond ``calldatasize()``, ABI encoding it did not revert, but continued reading values from beyond ``calldatasize()`` (i.e. zero values).", "link": "https://blog.soliditylang.org/2022/05/17/calldata-reencode-size-check-bug/", diff --git a/docs/bugs_by_version.json b/docs/bugs_by_version.json index 11ddd40b0..4e7bca56b 100644 --- a/docs/bugs_by_version.json +++ b/docs/bugs_by_version.json @@ -1085,7 +1085,7 @@ "bugs": [ "AbiReencodingHeadOverflowWithStaticArrayCleanup", "DirtyBytesArrayToStorage", - "NestedCallataArrayAbiReencodingSizeValidation", + "NestedCalldataArrayAbiReencodingSizeValidation", "ABIDecodeTwoDimensionalArrayMemory", "KeccakCaching", "EmptyByteArrayCopy", @@ -1103,7 +1103,7 @@ "bugs": [ "AbiReencodingHeadOverflowWithStaticArrayCleanup", "DirtyBytesArrayToStorage", - "NestedCallataArrayAbiReencodingSizeValidation", + "NestedCalldataArrayAbiReencodingSizeValidation", "ABIDecodeTwoDimensionalArrayMemory", "KeccakCaching", "EmptyByteArrayCopy", @@ -1120,7 +1120,7 @@ "bugs": [ "AbiReencodingHeadOverflowWithStaticArrayCleanup", "DirtyBytesArrayToStorage", - "NestedCallataArrayAbiReencodingSizeValidation", + "NestedCalldataArrayAbiReencodingSizeValidation", "ABIDecodeTwoDimensionalArrayMemory", "KeccakCaching", "EmptyByteArrayCopy", @@ -1137,7 +1137,7 @@ "bugs": [ "AbiReencodingHeadOverflowWithStaticArrayCleanup", "DirtyBytesArrayToStorage", - "NestedCallataArrayAbiReencodingSizeValidation", + "NestedCalldataArrayAbiReencodingSizeValidation", "ABIDecodeTwoDimensionalArrayMemory", "KeccakCaching", "EmptyByteArrayCopy", @@ -1154,7 +1154,7 @@ "bugs": [ "AbiReencodingHeadOverflowWithStaticArrayCleanup", "DirtyBytesArrayToStorage", - "NestedCallataArrayAbiReencodingSizeValidation", + "NestedCalldataArrayAbiReencodingSizeValidation", "ABIDecodeTwoDimensionalArrayMemory", "KeccakCaching", "EmptyByteArrayCopy", @@ -1173,7 +1173,7 @@ "bugs": [ "AbiReencodingHeadOverflowWithStaticArrayCleanup", "DirtyBytesArrayToStorage", - "NestedCallataArrayAbiReencodingSizeValidation", + "NestedCalldataArrayAbiReencodingSizeValidation", "ABIDecodeTwoDimensionalArrayMemory", "KeccakCaching", "EmptyByteArrayCopy", @@ -1191,7 +1191,7 @@ "bugs": [ "AbiReencodingHeadOverflowWithStaticArrayCleanup", "DirtyBytesArrayToStorage", - "NestedCallataArrayAbiReencodingSizeValidation", + "NestedCalldataArrayAbiReencodingSizeValidation", "ABIDecodeTwoDimensionalArrayMemory", "KeccakCaching", "EmptyByteArrayCopy", @@ -1208,7 +1208,7 @@ "bugs": [ "AbiReencodingHeadOverflowWithStaticArrayCleanup", "DirtyBytesArrayToStorage", - "NestedCallataArrayAbiReencodingSizeValidation", + "NestedCalldataArrayAbiReencodingSizeValidation", "ABIDecodeTwoDimensionalArrayMemory", "KeccakCaching", "EmptyByteArrayCopy", @@ -1348,7 +1348,7 @@ "bugs": [ "AbiReencodingHeadOverflowWithStaticArrayCleanup", "DirtyBytesArrayToStorage", - "NestedCallataArrayAbiReencodingSizeValidation", + "NestedCalldataArrayAbiReencodingSizeValidation", "ABIDecodeTwoDimensionalArrayMemory", "KeccakCaching", "EmptyByteArrayCopy", @@ -1369,7 +1369,7 @@ "bugs": [ "AbiReencodingHeadOverflowWithStaticArrayCleanup", "DirtyBytesArrayToStorage", - "NestedCallataArrayAbiReencodingSizeValidation", + "NestedCalldataArrayAbiReencodingSizeValidation", "ABIDecodeTwoDimensionalArrayMemory", "KeccakCaching", "EmptyByteArrayCopy", @@ -1389,7 +1389,7 @@ "bugs": [ "AbiReencodingHeadOverflowWithStaticArrayCleanup", "DirtyBytesArrayToStorage", - "NestedCallataArrayAbiReencodingSizeValidation", + "NestedCalldataArrayAbiReencodingSizeValidation", "ABIDecodeTwoDimensionalArrayMemory", "KeccakCaching", "EmptyByteArrayCopy", @@ -1407,7 +1407,7 @@ "bugs": [ "AbiReencodingHeadOverflowWithStaticArrayCleanup", "DirtyBytesArrayToStorage", - "NestedCallataArrayAbiReencodingSizeValidation", + "NestedCalldataArrayAbiReencodingSizeValidation", "ABIDecodeTwoDimensionalArrayMemory", "KeccakCaching", "EmptyByteArrayCopy", @@ -1425,7 +1425,7 @@ "AbiReencodingHeadOverflowWithStaticArrayCleanup", "DirtyBytesArrayToStorage", "DataLocationChangeInInternalOverride", - "NestedCallataArrayAbiReencodingSizeValidation", + "NestedCalldataArrayAbiReencodingSizeValidation", "SignedImmutables", "ABIDecodeTwoDimensionalArrayMemory", "KeccakCaching", @@ -1439,7 +1439,7 @@ "AbiReencodingHeadOverflowWithStaticArrayCleanup", "DirtyBytesArrayToStorage", "DataLocationChangeInInternalOverride", - "NestedCallataArrayAbiReencodingSizeValidation", + "NestedCalldataArrayAbiReencodingSizeValidation", "SignedImmutables", "ABIDecodeTwoDimensionalArrayMemory", "KeccakCaching", @@ -1453,7 +1453,7 @@ "AbiReencodingHeadOverflowWithStaticArrayCleanup", "DirtyBytesArrayToStorage", "DataLocationChangeInInternalOverride", - "NestedCallataArrayAbiReencodingSizeValidation", + "NestedCalldataArrayAbiReencodingSizeValidation", "SignedImmutables", "ABIDecodeTwoDimensionalArrayMemory", "KeccakCaching", @@ -1466,7 +1466,7 @@ "bugs": [ "AbiReencodingHeadOverflowWithStaticArrayCleanup", "DirtyBytesArrayToStorage", - "NestedCallataArrayAbiReencodingSizeValidation", + "NestedCalldataArrayAbiReencodingSizeValidation", "ABIDecodeTwoDimensionalArrayMemory", "KeccakCaching", "EmptyByteArrayCopy", @@ -1483,7 +1483,7 @@ "bugs": [ "AbiReencodingHeadOverflowWithStaticArrayCleanup", "DirtyBytesArrayToStorage", - "NestedCallataArrayAbiReencodingSizeValidation", + "NestedCalldataArrayAbiReencodingSizeValidation", "ABIDecodeTwoDimensionalArrayMemory", "KeccakCaching", "EmptyByteArrayCopy", @@ -1500,7 +1500,7 @@ "bugs": [ "AbiReencodingHeadOverflowWithStaticArrayCleanup", "DirtyBytesArrayToStorage", - "NestedCallataArrayAbiReencodingSizeValidation", + "NestedCalldataArrayAbiReencodingSizeValidation", "ABIDecodeTwoDimensionalArrayMemory", "KeccakCaching", "EmptyByteArrayCopy", @@ -1517,7 +1517,7 @@ "bugs": [ "AbiReencodingHeadOverflowWithStaticArrayCleanup", "DirtyBytesArrayToStorage", - "NestedCallataArrayAbiReencodingSizeValidation", + "NestedCalldataArrayAbiReencodingSizeValidation", "SignedImmutables", "ABIDecodeTwoDimensionalArrayMemory", "KeccakCaching", @@ -1534,7 +1534,7 @@ "bugs": [ "AbiReencodingHeadOverflowWithStaticArrayCleanup", "DirtyBytesArrayToStorage", - "NestedCallataArrayAbiReencodingSizeValidation", + "NestedCalldataArrayAbiReencodingSizeValidation", "SignedImmutables", "ABIDecodeTwoDimensionalArrayMemory", "KeccakCaching", @@ -1550,7 +1550,7 @@ "bugs": [ "AbiReencodingHeadOverflowWithStaticArrayCleanup", "DirtyBytesArrayToStorage", - "NestedCallataArrayAbiReencodingSizeValidation", + "NestedCalldataArrayAbiReencodingSizeValidation", "SignedImmutables", "ABIDecodeTwoDimensionalArrayMemory", "KeccakCaching", @@ -1566,7 +1566,7 @@ "bugs": [ "AbiReencodingHeadOverflowWithStaticArrayCleanup", "DirtyBytesArrayToStorage", - "NestedCallataArrayAbiReencodingSizeValidation", + "NestedCalldataArrayAbiReencodingSizeValidation", "SignedImmutables", "ABIDecodeTwoDimensionalArrayMemory", "KeccakCaching", @@ -1580,7 +1580,7 @@ "AbiReencodingHeadOverflowWithStaticArrayCleanup", "DirtyBytesArrayToStorage", "DataLocationChangeInInternalOverride", - "NestedCallataArrayAbiReencodingSizeValidation", + "NestedCalldataArrayAbiReencodingSizeValidation", "SignedImmutables", "ABIDecodeTwoDimensionalArrayMemory", "KeccakCaching", @@ -1595,7 +1595,7 @@ "AbiReencodingHeadOverflowWithStaticArrayCleanup", "DirtyBytesArrayToStorage", "DataLocationChangeInInternalOverride", - "NestedCallataArrayAbiReencodingSizeValidation", + "NestedCalldataArrayAbiReencodingSizeValidation", "SignedImmutables", "ABIDecodeTwoDimensionalArrayMemory", "KeccakCaching", @@ -1609,7 +1609,7 @@ "AbiReencodingHeadOverflowWithStaticArrayCleanup", "DirtyBytesArrayToStorage", "DataLocationChangeInInternalOverride", - "NestedCallataArrayAbiReencodingSizeValidation", + "NestedCalldataArrayAbiReencodingSizeValidation", "SignedImmutables", "ABIDecodeTwoDimensionalArrayMemory", "KeccakCaching", @@ -1624,7 +1624,7 @@ "AbiReencodingHeadOverflowWithStaticArrayCleanup", "DirtyBytesArrayToStorage", "DataLocationChangeInInternalOverride", - "NestedCallataArrayAbiReencodingSizeValidation", + "NestedCalldataArrayAbiReencodingSizeValidation", "SignedImmutables", "ABIDecodeTwoDimensionalArrayMemory", "KeccakCaching", @@ -1638,7 +1638,7 @@ "AbiReencodingHeadOverflowWithStaticArrayCleanup", "DirtyBytesArrayToStorage", "DataLocationChangeInInternalOverride", - "NestedCallataArrayAbiReencodingSizeValidation", + "NestedCalldataArrayAbiReencodingSizeValidation", "SignedImmutables", "ABIDecodeTwoDimensionalArrayMemory", "KeccakCaching", @@ -1651,7 +1651,7 @@ "AbiReencodingHeadOverflowWithStaticArrayCleanup", "DirtyBytesArrayToStorage", "DataLocationChangeInInternalOverride", - "NestedCallataArrayAbiReencodingSizeValidation", + "NestedCalldataArrayAbiReencodingSizeValidation", "SignedImmutables", "ABIDecodeTwoDimensionalArrayMemory", "KeccakCaching" @@ -1663,7 +1663,7 @@ "AbiReencodingHeadOverflowWithStaticArrayCleanup", "DirtyBytesArrayToStorage", "DataLocationChangeInInternalOverride", - "NestedCallataArrayAbiReencodingSizeValidation", + "NestedCalldataArrayAbiReencodingSizeValidation", "SignedImmutables", "ABIDecodeTwoDimensionalArrayMemory", "KeccakCaching" @@ -1675,7 +1675,7 @@ "AbiReencodingHeadOverflowWithStaticArrayCleanup", "DirtyBytesArrayToStorage", "DataLocationChangeInInternalOverride", - "NestedCallataArrayAbiReencodingSizeValidation", + "NestedCalldataArrayAbiReencodingSizeValidation", "SignedImmutables", "ABIDecodeTwoDimensionalArrayMemory", "KeccakCaching" @@ -1687,7 +1687,7 @@ "AbiReencodingHeadOverflowWithStaticArrayCleanup", "DirtyBytesArrayToStorage", "DataLocationChangeInInternalOverride", - "NestedCallataArrayAbiReencodingSizeValidation", + "NestedCalldataArrayAbiReencodingSizeValidation", "SignedImmutables", "ABIDecodeTwoDimensionalArrayMemory", "KeccakCaching" @@ -1699,7 +1699,7 @@ "AbiReencodingHeadOverflowWithStaticArrayCleanup", "DirtyBytesArrayToStorage", "DataLocationChangeInInternalOverride", - "NestedCallataArrayAbiReencodingSizeValidation", + "NestedCalldataArrayAbiReencodingSizeValidation", "SignedImmutables", "ABIDecodeTwoDimensionalArrayMemory", "KeccakCaching" @@ -1711,7 +1711,7 @@ "AbiReencodingHeadOverflowWithStaticArrayCleanup", "DirtyBytesArrayToStorage", "DataLocationChangeInInternalOverride", - "NestedCallataArrayAbiReencodingSizeValidation" + "NestedCalldataArrayAbiReencodingSizeValidation" ], "released": "2021-11-09" }, @@ -1720,7 +1720,7 @@ "AbiReencodingHeadOverflowWithStaticArrayCleanup", "DirtyBytesArrayToStorage", "DataLocationChangeInInternalOverride", - "NestedCallataArrayAbiReencodingSizeValidation", + "NestedCalldataArrayAbiReencodingSizeValidation", "AbiEncodeCallLiteralAsFixedBytesBug" ], "released": "2021-12-20" @@ -1730,7 +1730,7 @@ "AbiReencodingHeadOverflowWithStaticArrayCleanup", "DirtyBytesArrayToStorage", "DataLocationChangeInInternalOverride", - "NestedCallataArrayAbiReencodingSizeValidation", + "NestedCalldataArrayAbiReencodingSizeValidation", "AbiEncodeCallLiteralAsFixedBytesBug" ], "released": "2022-02-16" @@ -1742,7 +1742,7 @@ "DirtyBytesArrayToStorage", "InlineAssemblyMemorySideEffects", "DataLocationChangeInInternalOverride", - "NestedCallataArrayAbiReencodingSizeValidation" + "NestedCalldataArrayAbiReencodingSizeValidation" ], "released": "2022-03-16" }, @@ -1777,7 +1777,7 @@ "AbiReencodingHeadOverflowWithStaticArrayCleanup", "DirtyBytesArrayToStorage", "DataLocationChangeInInternalOverride", - "NestedCallataArrayAbiReencodingSizeValidation", + "NestedCalldataArrayAbiReencodingSizeValidation", "SignedImmutables", "ABIDecodeTwoDimensionalArrayMemory", "KeccakCaching" @@ -1789,7 +1789,7 @@ "AbiReencodingHeadOverflowWithStaticArrayCleanup", "DirtyBytesArrayToStorage", "DataLocationChangeInInternalOverride", - "NestedCallataArrayAbiReencodingSizeValidation", + "NestedCalldataArrayAbiReencodingSizeValidation", "SignedImmutables", "ABIDecodeTwoDimensionalArrayMemory" ], @@ -1800,7 +1800,7 @@ "AbiReencodingHeadOverflowWithStaticArrayCleanup", "DirtyBytesArrayToStorage", "DataLocationChangeInInternalOverride", - "NestedCallataArrayAbiReencodingSizeValidation", + "NestedCalldataArrayAbiReencodingSizeValidation", "SignedImmutables" ], "released": "2021-04-21" @@ -1810,7 +1810,7 @@ "AbiReencodingHeadOverflowWithStaticArrayCleanup", "DirtyBytesArrayToStorage", "DataLocationChangeInInternalOverride", - "NestedCallataArrayAbiReencodingSizeValidation", + "NestedCalldataArrayAbiReencodingSizeValidation", "SignedImmutables" ], "released": "2021-06-10" @@ -1820,7 +1820,7 @@ "AbiReencodingHeadOverflowWithStaticArrayCleanup", "DirtyBytesArrayToStorage", "DataLocationChangeInInternalOverride", - "NestedCallataArrayAbiReencodingSizeValidation", + "NestedCalldataArrayAbiReencodingSizeValidation", "SignedImmutables" ], "released": "2021-06-22" @@ -1830,7 +1830,7 @@ "AbiReencodingHeadOverflowWithStaticArrayCleanup", "DirtyBytesArrayToStorage", "DataLocationChangeInInternalOverride", - "NestedCallataArrayAbiReencodingSizeValidation", + "NestedCalldataArrayAbiReencodingSizeValidation", "SignedImmutables" ], "released": "2021-08-11" @@ -1840,7 +1840,7 @@ "AbiReencodingHeadOverflowWithStaticArrayCleanup", "DirtyBytesArrayToStorage", "DataLocationChangeInInternalOverride", - "NestedCallataArrayAbiReencodingSizeValidation", + "NestedCalldataArrayAbiReencodingSizeValidation", "UserDefinedValueTypesBug", "SignedImmutables" ], @@ -1851,7 +1851,7 @@ "AbiReencodingHeadOverflowWithStaticArrayCleanup", "DirtyBytesArrayToStorage", "DataLocationChangeInInternalOverride", - "NestedCallataArrayAbiReencodingSizeValidation" + "NestedCalldataArrayAbiReencodingSizeValidation" ], "released": "2021-09-29" }