[PATCH]Valgind: a complaint about uninitialized bytes

Maxim Dounin mdounin at mdounin.ru
Thu Jun 13 12:36:59 UTC 2013


Hello!

On Wed, Jun 12, 2013 at 12:51:56AM +0900, cubicdaiya wrote:

> Hi.
> 
> 2013/6/12 Maxim Dounin <mdounin at mdounin.ru>
> > The memzero call is certainly only needed in case of fd != -1
> > (i.e., to suppress valgrind warning).
> 
> I see. How is that?
> 
> # HG changeset patch
> # User Tatsuhiko Kubo <cubicdaiya at gmail.com>
> # Date 1370965284 -32400
> # Node ID 2bb2b7d3a263d97b148b706407caf16fd0f074eb
> # Parent  725fb71ab1a60bd48b0afb8b001b5349f5054cb1
> Valgrind: a complaint about uninitialized bytes

Slightly modified patch pushed, thanks.

-- 
Maxim Dounin
http://nginx.org/en/donation.html



More information about the nginx-devel mailing list