open-source-parsers / jsoncpp

A C++ library for interacting with JSON.
Other
8.06k stars 2.63k forks source link

Fix out-of-bounds read. #1503

Open vslashg opened 1 year ago

vslashg commented 1 year ago

getLocationLIneAndColumn would read past the end of the provided buffer if generating an error message at the end of the stream, if the final character was \r.