json/include/nlohmann/detail/input
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
..
binary_reader.hpp Fix ndarray dimension signedness, fix ndarray length overflow (2); add 32bit unit test (#3523) 2022-06-09 08:22:58 +02:00
input_adapters.hpp Support UBJSON-derived Binary JData (BJData) format (#3336) 2022-04-29 21:17:30 +02:00
json_sax.hpp 🥅 add assertion for invariant in SAX-DOM parser (#3498) 2022-05-19 19:56:33 +02:00
lexer.hpp Consolidate documentation (#3071) 2021-12-29 13:41:01 +01:00
parser.hpp Re-template json_pointer on string type (#3415) 2022-04-12 14:18:16 +02:00
position_t.hpp 🚨 fixed warnings 2019-03-15 14:55:13 +01:00