--- Comment #4 from pinskia at gcc dot gnu dot org 2006-04-28 16:57 ---
This is interesting because this might be a regression as people have run with
valgrind before.
It might also be a valgrind bug.
Or maybe just an off by one bug.
Anyways changing to use strncmp is not correct he
--- Comment #3 from fnf at specifix dot com 2006-04-28 13:54 ---
Subject: Re: memcmp reads past end of strings
On Friday 28 April 2006 09:36, rguenth at gcc dot gnu dot org wrote:
>
> --- Comment #2 from rguenth at gcc dot gnu dot org 2006-04-28 13:36
> ---
> In this particu
--- Comment #2 from rguenth at gcc dot gnu dot org 2006-04-28 13:36 ---
In this particular case this should not happen as the memcmp is guarded by the
length comparison before.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27348