json/include/nlohmann/detail
Florian Albrechtskirchinger 48a102c2c5
Fix ndarray dimension signedness, fix ndarray length overflow (2); add 32bit unit test (#3523)
* Fix ndarray dimension signness, fix ndarray length overflow, close #3519

* detect size overflow in ubjson and bjdata

* force reformatting

* Fix MSVC compiler warning

* Add value_in_range_of trait

* Use value_in_range_of trait

* Correct 408 parse_errors to out_of_range

* Add 32bit unit test

The test can be enabled by setting JSON_32bitTest=ON.

* Exclude unreachable lines from coverage

Certain lines are unreachable in 64bit builds.

Co-authored-by: Qianqian Fang <fangqq@gmail.com>
2022-06-09 08:22:58 +02:00
..
conversions Fix C++20/gcc-12 issues (Part 2) (#3446) 2022-05-29 13:08:06 +02:00
input Fix ndarray dimension signedness, fix ndarray length overflow (2); add 32bit unit test (#3523) 2022-06-09 08:22:58 +02:00
iterators Fix C++20/gcc-12 issues (Part 2) (#3446) 2022-05-29 13:08:06 +02:00
meta Fix ndarray dimension signedness, fix ndarray length overflow (2); add 32bit unit test (#3523) 2022-06-09 08:22:58 +02:00
output Support UBJSON-derived Binary JData (BJData) format (#3336) 2022-04-29 21:17:30 +02:00
exceptions.hpp Re-template json_pointer on string type (#3415) 2022-04-12 14:18:16 +02:00
hash.hpp 🐛 adding missing header 2021-08-18 13:33:35 +02:00
json_pointer.hpp Re-template json_pointer on string type (#3415) 2022-04-12 14:18:16 +02:00
json_ref.hpp 🚨 add new CI and fix warnings (#2561) 2021-03-24 07:15:18 +01:00
macro_scope.hpp Fix C++20/gcc-12 issues (Part 2) (#3446) 2022-05-29 13:08:06 +02:00
macro_unscope.hpp Fix C++20/gcc-12 issues (Part 2) (#3446) 2022-05-29 13:08:06 +02:00
string_concat.hpp Re-template json_pointer on string type (#3415) 2022-04-12 14:18:16 +02:00
string_escape.hpp Re-template json_pointer on string type (#3415) 2022-04-12 14:18:16 +02:00
value_t.hpp Fix C++20/gcc-12 issues (Part 2) (#3446) 2022-05-29 13:08:06 +02:00