json/tests
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
..
benchmarks Reorganize directories (#3462) 2022-05-01 09:41:50 +02:00
cmake_add_subdirectory Reorganize directories (#3462) 2022-05-01 09:41:50 +02:00
cmake_fetch_content Reorganize directories (#3462) 2022-05-01 09:41:50 +02:00
cmake_fetch_content2 Reorganize directories (#3462) 2022-05-01 09:41:50 +02:00
cmake_import Reorganize directories (#3462) 2022-05-01 09:41:50 +02:00
cmake_import_minver Reorganize directories (#3462) 2022-05-01 09:41:50 +02:00
cmake_target_include_directories Reorganize directories (#3462) 2022-05-01 09:41:50 +02:00
cuda_example Reorganize directories (#3462) 2022-05-01 09:41:50 +02:00
reports Reorganize directories (#3462) 2022-05-01 09:41:50 +02:00
src Fix ndarray dimension signedness, fix ndarray length overflow (2); add 32bit unit test (#3523) 2022-06-09 08:22:58 +02:00
thirdparty Reorganize directories (#3462) 2022-05-01 09:41:50 +02:00
CMakeLists.txt Fix ndarray dimension signedness, fix ndarray length overflow (2); add 32bit unit test (#3523) 2022-06-09 08:22:58 +02:00
fuzzing.md Document fuzzer usage (#3478) 2022-05-09 08:02:41 +02:00
Makefile Reorganize directories (#3462) 2022-05-01 09:41:50 +02:00