This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug sanitizer/81068] Sanitizer memory leak in codecvt_utf8
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 19 Sep 2017 14:17:34 +0000
- Subject: [Bug sanitizer/81068] Sanitizer memory leak in codecvt_utf8
- Auto-submitted: auto-generated
- References: <bug-81068-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81068
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |UNCONFIRMED
Ever confirmed|1 |0
--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> ---
The code is invalid (I have no idea why it doesn't throw an exception on
Ubuntu).
The correct end of the string is input_data + 8 not &input_data[7]