[Libvir] [patch 1/5] iptables: fix invalid free

David Edmondson dme at sun.com
Thu Mar 22 11:16:29 UTC 2007


On Wed, Mar 21, 2007 at 04:38:00PM +0100, Jim Meyering wrote:
> I interpret "wrappers", above, to mean more than just a calloc-like wrapper.
> 
> A malloc (not calloc, of course) wrapper that always initializes can
> mask what would have otherwise been a used-uninitialised error, and what
> would still be a logical U.I. error.

That seems silly.  If the wrapper is defined as zero-initalising then
it cannot be an error to assume that it zero-initalises.

dme.




More information about the libvir-list mailing list