[Gluster-devel] catching unitialized structures

Emmanuel Dreyfus manu at netbsd.org
Tue Apr 30 04:19:49 UTC 2013


Anand Avati <anand.avati at gmail.com> wrote:

> Right. What Vijay said is that GF_CALLOC is the wrong place to initialize
> memory with magic values, as it is _expected_ to strictly zero-fill the
> allocated buffer just like calloc(). 

Uh, sorry, I misunderstood that.

-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu at netbsd.org




More information about the Gluster-devel mailing list