Re: Valgrind results

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Tue, 25 Mar 2008 13:08:32 +0100

On Tue, 2008-03-25 at 12:23 +1100, Robert Collins wrote:
> Is it valgrind being wrong, or does epoll actually read from that
> unitinitialised region?

it's valgrind not knowing (or caring about) the full details of when
epoll uses what of the supplied data.

But generally speaking it's a good warning as supplying uninitialized
input data to the kernel even if that data is currently unused for the
specific call details is perhaps not a good idea.

Regards
Henrik
Received on Tue Mar 25 2008 - 06:08:54 MDT

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