[PATCH] libhal: fix to prevent segmentation faults if call functions with ctx==NULL

Danny Kukawka danny.kukawka at web.de
Wed Jul 20 11:52:09 PDT 2005


Hi,

this is a fix to prevent segmentation faults in libhal if a function called 
with parameter LibHalContext *ctx == NULL/0 .

Thanks,

Danny

libhal.c |  327 
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---
 1 files changed, 316 insertions(+), 11 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: hal-libhal-LibHalContext-fix.diff
Type: text/x-diff
Size: 15969 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/hal/attachments/20050720/3d3cb452/hal-libhal-LibHalContext-fix.bin
-------------- next part --------------
_______________________________________________
hal mailing list
hal at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/hal


More information about the Hal mailing list