[PATCH] Re: Linux Backend: SIGSEGV when building without USE_PCI_IDS

Rob Taylor rob.taylor at codethink.co.uk
Sun Nov 25 07:08:37 PST 2007


Danny Kukawka wrote:
> On Samstag, 24. November 2007, Thomas Reitmayr wrote:
>> My proposal is to either initialize the variables when declared or set
>> the respective parameters in the inlined ids_find_pci to NULL.
>>
>> I did not check whether the same problem exists for USB ids or in any
>> other place in the code.
> 
> Does the attached patch help? Should fix it for all IDs functions.

Ah, this bug is my fault. This patch looks good to me, please commit!

Thanks,
Rob

> Danny 
> 
>  ids.h |   19 ++++++++++++++++---
>  1 file changed, 16 insertions(+), 3 deletions(-)
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> hal mailing list
> hal at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/hal


-- 
Rob Taylor, Codethink Ltd. -  http://codethink.co.uk


More information about the hal mailing list