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

Danny Kukawka danny.kukawka at web.de
Tue Mar 6 08:05:17 PST 2007


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).

Danny

 libhal.c |   80 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 libhal.h |   25 ++++++++++++++++
 2 files changed, 105 insertions(+)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hal-fix-libhal_validate_parameter_fd.o_bug10133.diff
Type: text/x-diff
Size: 14945 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/hal/attachments/20070306/9889696c/hal-fix-libhal_validate_parameter_fd.o_bug10133-0001.bin


More information about the hal mailing list