Re: Valgrind results

From: Robert Collins <robertc@dont-contact.us>
Date: Tue, 25 Mar 2008 12:23:51 +1100

On Sun, 2008-03-23 at 20:37 +0900, Adrian Chadd wrote:
> On Mon, Mar 24, 2008, Amos Jeffries wrote:
> > Adrian Chadd wrote:
> > >You can ignore that. If you care that much about the epoll error then
> > >just bzero() the data being passed into epoll_ctl() before its called.
>
> > I care about every potential cause of trouble in squid. Particularly
> > avoidable ones that pop up all the time. 'Zero errors' policy and all that.
>
> Thats cool. There's just bigger fish to fry. :)
>
> > It may be that this is fixable by setting the first byte of the buffer
> > to '\0'. I'm just busy working on the other more serious ones myself
> > tonight.
>
> Nah, it'll actually check the whole region.

Is it valgrind being wrong, or does epoll actually read from that
unitinitialised region?

If the former, thats what excludes are for; if the latter then it is a
bug :)

-Rob

-- 
GPG key available at: <http://www.robertcollins.net/keys.txt>.

Received on Tue Mar 25 2008 - 04:51:07 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Apr 01 2008 - 13:00:10 MDT