json/include/nlohmann
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
..
detail Fix ndarray dimension signedness, fix ndarray length overflow (2); add 32bit unit test (#3523) 2022-06-09 08:22:58 +02:00
thirdparty/hedley 🚨 add new CI and fix warnings (#2561) 2021-03-24 07:15:18 +01:00
adl_serializer.hpp Consolidate documentation (#3071) 2021-12-29 13:41:01 +01:00
byte_container_with_subtype.hpp Consolidate documentation (#3071) 2021-12-29 13:41:01 +01:00
json.hpp Update json.hpp (#3499) 2022-06-06 13:01:46 +02:00
json_fwd.hpp Consolidate documentation (#3071) 2021-12-29 13:41:01 +01:00
ordered_map.hpp Implement support for string_view (attempt no. 3) (#3423) 2022-04-29 21:40:02 +02:00