[redhat-lspp] Re: [RFC 2/7] NetLabel: core network changes

Venkat Yekkirala vyekkirala at TrustedCS.com
Mon Jul 10 15:09:56 UTC 2006


> -----Original Message-----
> From: Steve Grubb [mailto:sgrubb at redhat.com]
> Sent: Monday, July 10, 2006 10:03 AM
> To: Paul Moore
> Cc: redhat-lspp at redhat.com
> Subject: [redhat-lspp] Re: [RFC 2/7] NetLabel: core network changes
> 
> 
> On Monday 10 July 2006 10:56, Paul Moore wrote:
> > Quick question - can you safely call kfree() on a NULL or 
> uninitialized
> > pointer?
> 
> A NULL pointer yes. Uninitialized pointer is one that points 
> to random 
> memory...they should all be init'ed with NULL.
Or from an optimization point of view, set to the "right" pointers I guess
:)




More information about the redhat-lspp mailing list