c709b86a5d
Change `read_string` to fail when not the entire input has been
consumed. This avoids unexpected, even dangerous behavior (fixes #6223).
The new JSON parser adapted in #6121 also solves this problem so in
master this is a temporary fix, but should be backported to older releases.
Also adds tests for the new behavior.
Github-Pull: #6226
Rebased-From:
|
||
---|---|---|
.. | ||
json_spirit_error_position.h | ||
json_spirit_reader_template.h | ||
json_spirit_reader.cpp | ||
json_spirit_reader.h | ||
json_spirit_stream_reader.h | ||
json_spirit_utils.h | ||
json_spirit_value.cpp | ||
json_spirit_value.h | ||
json_spirit_writer_template.h | ||
json_spirit_writer.cpp | ||
json_spirit_writer.h | ||
json_spirit.h | ||
LICENSE.txt |