Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 198837 Details for
Bug 278760
x11-base/xorg-server-1.6.2-r1: SIGSEGV with sys-apps/hal-0.5.13
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Handle errors for libhal_find_device_by_capability
gentoo278760.patch (text/plain), 1.15 KB, created by
Martin von Gagern
on 2009-07-22 21:01:13 UTC
(
hide
)
Description:
Handle errors for libhal_find_device_by_capability
Filename:
MIME Type:
Creator:
Martin von Gagern
Created:
2009-07-22 21:01:13 UTC
Size:
1.15 KB
patch
obsolete
>Handle error from libhal_find_device_by_capability. > >libhal_find_device_by_capability may encounter errors, e.g. due to a >broken HAL configuration. These errors have to be dealt with before >the list of devices is traversed. Otherwise a SIGSEGV might occur. > >2009-07-22 Martin von Gagern > >References: http://bugs.gentoo.org/278760Index: xorg-server-1.6.2/config/hal.c >=================================================================== >Index: xorg-server-1.6.2/config/hal.c >=================================================================== >--- xorg-server-1.6.2.orig/config/hal.c >+++ xorg-server-1.6.2/config/hal.c >@@ -506,7 +506,12 @@ connect_and_register(DBusConnection *con > > devices = libhal_find_device_by_capability(info->hal_ctx, "input", > &num_devices, &error); >+ if (error) { > /* FIXME: Get default devices if error is set. */ >+ LogMessage(X_ERROR, "config/hal: couldn't find input device: %s (%s)\n", >+ error.name, error.message); >+ goto out_ctx2; >+ } > for (i = 0; i < num_devices; i++) > device_added(info->hal_ctx, devices[i]); > libhal_free_string_array(devices);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 278760
:
198837
|
198841
|
198883
|
199329