marzer / tomlplusplus

Header-only TOML config file parser and serializer for C++17.
https://marzer.github.io/tomlplusplus/
MIT License
1.53k stars 146 forks source link

Resolved bug in kMaxValue in SerializationTest for toml_fuzzer #215

Closed capuanob closed 10 months ago

capuanob commented 10 months ago

What does this change do?

Fixes a super simple logic msitake in the harness, where the kMaxValue was set to 1 less than the true max- preventing one branch of the switch from ever being exercised.

Is it related to an exisiting bug report or feature request? No

Pre-merge checklist

github-advanced-security[bot] commented 10 months ago

This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation.

marzer commented 10 months ago

Thanks :)