Red Hat Bugzilla – Bug 193649
HAL daemon crashes when attempting to obtain strlen on a NULL pointer
Last modified: 2012-06-20 09:32:28 EDT
Description of problem:
This is the same issue observed in Fedora Core 3 and Bug 145921. HAL daemon
crashes during initialization. Introducing two
in usb_device_pre_process(), usbif_device_pre_process() as have been applied in
later versions of HAL solves the problem (see attached patch).
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Boot up the system.
2. Examine the log file.
HAL daemon crashes with
kernel: hald: segfault at 0000000000000000 rip 00002b2f22a77f40 rsp
00007fffffb84048 error 4
HAL should not crash.
Created attachment 130268 [details]
Patch to catch cases with cur->len == 0
Patch works for me on RHEL 4.7
Thank you for submitting this issue for consideration in Red Hat Enterprise Linux. The release for which you requested us to review is now End of Life.
Please See https://access.redhat.com/support/policy/updates/errata/
If you would like Red Hat to re-consider your feature request for an active release, please re-open the request via appropriate support channels and provide additional supporting details about the importance of this issue.