[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: valgrind warns of regexec.c/memmove buffer read overrun
From: |
Paul Eggert |
Subject: |
Re: valgrind warns of regexec.c/memmove buffer read overrun |
Date: |
Thu, 15 Mar 2012 07:49:32 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:10.0.1) Gecko/20120209 Thunderbird/10.0.1 |
On 03/15/2012 05:04 AM, Jim Meyering wrote:
> I.e., can valgrind be taught that when a
> memmove call appears to read a few bytes beyond end of the source buffer,
> that it is ok, as long the overrun is consistent with the alignment of
> the source pointer?
Sure, just fix valgrind; this should be easy since it supplies
its own memmove. See:
https://bugzilla.redhat.com/show_bug.cgi?id=705790
which talks about just such a fix for Fedora 15.
Hmm, but why are you seeing the problem in Fedora *17*?
Is that a regression? Or was there some problem with the fix?