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

Danny Kukawka danny.kukawka at web.de
Sat Nov 24 16:39:36 PST 2007


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.

Danny 

 ids.h |   19 ++++++++++++++++---
 1 file changed, 16 insertions(+), 3 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hal-fix-segfault_disable-XXX-ids.diff
Type: text/x-diff
Size: 1330 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/hal/attachments/20071125/5e240219/attachment.diff 


More information about the hal mailing list