dbus crasher

Gordon Messmer yinyang at eburg.com
Mon Nov 23 00:47:27 PST 2009


I think there's another spot where pending_call should be checked.  
Patch attached.
-------------- next part --------------
--- hald_dbus.c.orig	2009-11-23 00:43:50.000000000 -0800
+++ hald_dbus.c	2009-11-23 00:45:12.000000000 -0800
@@ -5147,7 +5147,7 @@
                                 if (!dbus_connection_send_with_reply (hih->connection,
                                                                       copy,
                                                                       &pending_call,
-                                                                      /*-1*/ 8000)) {
+                                                                      /*-1*/ 8000) && pending_call) {
                                         /* TODO: handle error */
                                 } else {
                                         /*HAL_INFO (("connection=%x message=%x", connection, message));*/


More information about the hal mailing list