Unicode in whitespace #135
Labels
bug
Something isn't working
implemented in v3
Fixes + features which were implemented in v3 release.
TOML spec
An issue relating to the library's TOML spec conformance.
The non-conforming TOML snippet
I'm using escape sequences to represent the Unicode code points of non-ASCII chars:
As a hexdump:
What you expected
I expected an error because
\u2000
is not valid TOML whitespace.What you got
Environment
toml++ version and/or commit hash:
v3 cdf85a9
Any other useful information:
The fuzzer triggered on
\u2000
which is a general punctuation code point from what I can tell (I'm not a Unicode guru). I didn't try any other code points.Found while doing differential fuzzing against
go-toml
. The fuzzer is merciless. 😄The text was updated successfully, but these errors were encountered: