[Gluster-devel] catching unitialized structures

Emmanuel Dreyfus manu at netbsd.org
Mon Apr 29 17:01:46 UTC 2013


Hi

I found an uninitialized mutex and I am tracking another one. This is 
not the first time I hit this kind of problem, which is invisible to
Linux developpers since Linux allows using an uninitialized mutex.

I suggest chaning GF_CALLOC and friends so that it fills memory
with 0xdeadbeef during developement cycles. That would help people
catching that kind og issues earlier.

Opinions?

-- 
Emmanuel Dreyfus
manu at netbsd.org




More information about the Gluster-devel mailing list