json/include/nlohmann/detail
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
..
conversions 🚚 rename Hedley macros 2019-07-01 22:37:30 +02:00
input input_buffer_adapter: Fix handling of nullptr input 2019-09-03 13:22:03 +02:00
iterators 🚑 fix compiler errors 2019-07-14 21:19:55 +02:00
meta make sure values are overwritten in from_json overloads 2019-04-01 17:47:42 +02:00
output Merge branch 'feature/hedley' into develop 2019-07-14 20:58:08 +02:00
exceptions.hpp 🚚 rename Hedley macros 2019-07-01 22:37:30 +02:00
json_pointer.hpp 🚑 fix compiler errors 2019-07-14 21:19:55 +02:00
json_ref.hpp 💚 fix CI and #1521 2019-03-17 15:20:22 +01:00
macro_scope.hpp ⚗️ add Hedley annotations 2019-06-30 22:14:02 +02:00
macro_unscope.hpp 🔨 add NLOHMANN_JSON prefix and undef macros 2019-07-01 22:24:39 +02:00
value_t.hpp 🚨 fixed warnings 2019-03-15 14:55:13 +01:00