[Bug sanitizer/81068] Sanitizer memory leak in codecvt_utf8

2017-09-19 Thread piotr.stachura at delphi dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81068 --- Comment #7 from Piotr Stachura --- Jonathan, you are right. In sample code, end of string should be input_data[8]. With this correction I have this same behavior on both systems that I use (correct compilation and execution without sanitizer

[Bug sanitizer/81068] Sanitizer memory leak in codecvt_utf8

2017-09-19 Thread piotr.stachura at delphi dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81068 --- Comment #2 from Piotr Stachura --- I have to check it deeper. I have 2 systems - one gentoo and one Ubuntu. On Ubuntu, code is correct (as I posted in bug report). When I compile this same code on gentoo (gcc-5.4.0 and gcc-7.2.0) I have this

[Bug sanitizer/81068] New: Sanitizer memory leak in codecvt_utf8

2017-06-12 Thread piotr.stachura at delphi dot com
Assignee: unassigned at gcc dot gnu.org Reporter: piotr.stachura at delphi dot com CC: dodji at gcc dot gnu.org, dvyukov at gcc dot gnu.org, jakub at gcc dot gnu.org, kcc at gcc dot gnu.org, marxin at gcc dot gnu.org Target Milestone