What's Changed
Patch release. Two On-Demand fixes backported from master, both reachable through the JSONPath and JSON Pointer interfaces.
raw_json_string::unsafe_is_equal(std::string_view)compared a caller-supplied key against the document without a bound whenever the key was longer thanSIMDJSON_PADDING(64 bytes), reading past the end of the buffer for as long as the bytes following the key kept matching. The comparison now stops at the quote terminating the key. Reachable fromat_path(),at_pointer()andfind_field(). #2841for_each_at_path_with_wildcard()recursed once per path segment without consulting the parser's depth limit, so a long wildcard path applied to a deeply nested document kept descending and exhausted the stack. It now reportsDEPTH_ERROR. #2844
The SOVERSION is unchanged (33).
Full Changelog: v4.6.8...v4.6.9