json/include/nlohmann
Thomas Braun 61fe5f1eee input_buffer_adapter: Fix handling of nullptr input
Clang UBSAN currently complains that the char * to input_buffer_adapter
is a nullptr.

Turns out it is actually required to accept nullptr, see for example
line 415 in input_adapters.hpp

  ...
  // the address of first cannot be used: use nullptr
  ia = std::make_shared<input_buffer_adapter>(nullptr, len);
  ....

Therefore we have to handle it gracefully here. We now also ignore the
length parameter l if b is a nullptr.
2019-09-03 13:22:03 +02:00
..
detail input_buffer_adapter: Fix handling of nullptr input 2019-09-03 13:22:03 +02:00
thirdparty/hedley 🚚 rename Hedley macros 2019-07-01 22:37:30 +02:00
adl_serializer.hpp 🚨 fixed some more linter warnings 2018-10-28 09:15:41 +01:00
json.hpp 🔖 set version to 3.7.0 2019-07-28 20:20:41 +02:00
json_fwd.hpp 🚨 fixed warnings 2019-03-15 14:55:13 +01:00