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
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
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