v0.1.3 bound parse memory and errors, conform better to toml spec for escpae and control chars
Test / test (push) Canceled after 0s
Test / test (push) Canceled after 0s
This commit is contained in:
8 files changed
+283
-40
No files matched your search
@@ -15,6 +15,9 @@ func FuzzParse(f *testing.F) {
|
||||
"t = { a = 1, b = { c = [1, 2] } }",
|
||||
`s = "esc \u00E9 \t"`,
|
||||
"n = -0x10\nb = 0b101\no = 0o17",
|
||||
"e = \"\\e\\x41\"\r\n# c\r\n[[a]]\r\n",
|
||||
"a = 1 # \x1b[8m\nb = 2",
|
||||
"[ [a] ]\nk =\r1",
|
||||
} {
|
||||
f.Add([]byte(s))
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user