[Bug sanitizer/81068] Sanitizer memory leak in codecvt_utf8

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Sep 19 14:21:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81068

--- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> ---
If you use &input_data[7] then you do not have valid UTF-8 input, because it
ends with an incomplete multibyte character, "\xCD", instead of "\CD\x8B"


More information about the Gcc-bugs mailing list