1
0
mirror of https://github.com/nlohmann/json synced 2024-11-10 14:30:08 +00:00
nlohmannjson/single_include/nlohmann
scinart 899bd94b43 flush buffer in serializer::dump_escaped case UTF8_REJECT
serializer use fixed buffer. Whenever it is nearly full, it is flushed to `output_adapter_t<char> o`
But the code forgets to flush when there is a invalid utf8 code point
So there will be buffer overflow.
2019-01-18 20:35:48 -05:00
..
json.hpp flush buffer in serializer::dump_escaped case UTF8_REJECT 2019-01-18 20:35:48 -05:00