Re: catching unitialized structures

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 04/29/2013 10:31 PM, Emmanuel Dreyfus wrote:
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.


Maybe with -DDEBUG?

-Vijay




[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux