We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Given a TOML document of any(?) length made with only NULL bytes, toml11 returns a valid, empty document:
toml11
$ echo -n '\x00\x00\x00\x00' | check_toml_test {}
I expect this input to be invalid.
AFAICT if there are any non-NULL bytes after the leading NULL bytes, the parser given an error as expected.
Found while doing differential fuzzing against go-toml/v2.
go-toml/v2
The text was updated successfully, but these errors were encountered:
Thank you for reporting! Historically I added this for the null terminated string, but currently we don't need this. I removed it.
Sorry, something went wrong.
0d0605e
No branches or pull requests
Given a TOML document of any(?) length made with only NULL bytes,
toml11
returns a valid, empty document:I expect this input to be invalid.
AFAICT if there are any non-NULL bytes after the leading NULL bytes, the parser given an error as expected.
Found while doing differential fuzzing against
go-toml/v2
.The text was updated successfully, but these errors were encountered: