mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Escape backslashes when formatting
This commit is contained in:
committed by
chriseth
parent
e9446475bb
commit
820fdd9bf7
@@ -1,4 +1,15 @@
|
||||
[
|
||||
{
|
||||
"name": "MissingEscapingInFormatting",
|
||||
"summary": "String literals containing double backslash characters passed directly to external or encoding function calls can lead to a different string being used when ABIEncoderV2 is enabled.",
|
||||
"description": "When ABIEncoderV2 is enabled, string literals passed directly to encoding functions or external function calls are stored as strings in the intemediate code. Characters outside the printable range are handled correctly, but backslashes are not escaped in this procedure. This leads to double backslashes being reduced to single backslashes and consequently re-interpreted as escapes potentially resulting in a different string being encoded.",
|
||||
"introduced": "0.5.14",
|
||||
"fixed": "0.6.8",
|
||||
"severity": "very low",
|
||||
"conditions": {
|
||||
"ABIEncoderV2": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "ArraySliceDynamicallyEncodedBaseType",
|
||||
"summary": "Accessing array slices of arrays with dynamically encoded base types (e.g. multi-dimensional arrays) can result in invalid data being read.",
|
||||
|
||||
Reference in New Issue
Block a user