Andrey Semashev 131208d8cc Fixed out-of-bounds access in utf8_codecvt_facet::do_length.
The loop in do_length used to dereference from_end pointer, which
could point to an out-of-bounds memory. Rewritten the loop to
avoid this and also make the logic a bit more clear.

Closes https://github.com/boostorg/detail/pull/21.
2021-03-17 14:12:36 +03:00
2021-01-26 15:53:19 -05:00
S
Description
Boost.org detail module
1.1 MiB
Languages
C++ 99.3%
CMake 0.4%
HTML 0.3%