v2.0.10
版本发布时间: 2017-01-02 23:39:14
nlohmann/json最新发布版本:v3.11.3(2023-11-29 05:38:09)
- Release date: 2017-01-02
- SHA-256: ec27d4e74e9ce0f78066389a70724afd07f10761009322dc020656704ad5296d
Summary
This release fixes several security-relevant bugs in the MessagePack and CBOR parsers. The fixes are backwards compatible.
Changes
- :bug: Fixed a lot of bugs in the CBOR and MesssagePack parsers. These bugs occurred if invalid input was parsed and then could lead in buffer overflows. These bugs were found with Google's OSS-Fuzz, see #405, #407, #408, #409, #411, and #412 for more information.
- :construction_worker: We now also use the Doozer continuous integration platform.
- :construction_worker: The complete test suite is now also run with Clang's address sanitizer and undefined-behavior sanitizer.
- :white_check_mark: Overworked fuzz testing; CBOR and MessagePack implementations are now fuzz-tested. Furthermore, all fuzz tests now include a round trip which ensures created output can again be properly parsed and yields the same JSON value.
- :memo: Clarified documentation of
find()
function to always returnend()
when called on non-object value types. - :hammer: Moved thirdparty test code to
test/thirdparty
directory.
1、 json.hpp 408.6KB
2、 json.hpp.asc 801B