[PATCH] libhal: validate parameter to be != NULL

David Zeuthen david at fubar.dk
Tue Mar 6 11:34:50 PST 2007


On Tue, 2007-03-06 at 17:05 +0100, Danny Kukawka wrote:
> Hi,
> 
> this patch fixes fd.o bug #10133 and check several function
> parameter for != NULL to aviod problems with D-Bus calls 
> where e.g. given udi or key is NULL (it's at least the same
> code as check for a valid LibHalContext).

Looks good if you move the new macro into libhal.c - I don't really want
it exported to any program that includes the public header file. Thanks.

     David




More information about the hal mailing list