Re: catching unitialized structures

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

 



On 04/30/2013 06:10 AM, Jeff Darcy wrote:
On 04/29/2013 01:38 PM, Vijay Bellur wrote:
There are a lot of places where we make an
implicit assumption that GF_CALLOC and the likes memset the memory area
to zero.

Actually I was a bit disturbed recently when I found that at least one
member of that family (don't remember which) *doesn't* do that.  I meant
to go through and check which code relied on that unmet assumption, but
then something else came up and I never got back to it.



I did a quick scan of mem-pool.c but failed to notice anything obvious. If you happen to notice it again, it should be worth a patch.

-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