You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The assert is hit by the temp.push_back() in basic_parser::
parse_escaped (https://github.com/boostorg/json/blob/develop/include/boost/json/basic_parser_impl.hpp#L1680).
It occurs because the encoded character is split into the two buffer (the first buffer end precisely in the middle of the unicode encoded character). The buffer start with the full unicode character (3 character) but the input still contains 30 characters while the temp buffer only allows 32.
I reproed the issue initially with the default BOOST_JSON_STACK_BUFFER_SIZE on iOS seldomly while processing some large json payloads.
All relevant compiler information
Build with BOOST_ALL_NO_LIB on Windows. Also occurs on iOS with the default BOOST_JSON_STACK_BUFFER_SIZE (256) value.
The text was updated successfully, but these errors were encountered:
Version of Boost
1.80
Steps necessary to reproduce the problem
The assert is hit by the temp.push_back() in basic_parser::
parse_escaped (https://github.com/boostorg/json/blob/develop/include/boost/json/basic_parser_impl.hpp#L1680).
It occurs because the encoded character is split into the two buffer (the first buffer end precisely in the middle of the unicode encoded character). The buffer start with the full unicode character (3 character) but the input still contains 30 characters while the temp buffer only allows 32.
I reproed the issue initially with the default BOOST_JSON_STACK_BUFFER_SIZE on iOS seldomly while processing some large json payloads.
All relevant compiler information
Build with BOOST_ALL_NO_LIB on Windows. Also occurs on iOS with the default BOOST_JSON_STACK_BUFFER_SIZE (256) value.
The text was updated successfully, but these errors were encountered: