fix possible crash if pending_return is NULL (FDO Bug #12673)
authorJohn (J5) Palmieri <johnp@redhat.com>
Tue, 15 Jan 2008 20:23:57 +0000 (15:23 -0500)
committerJohn (J5) Palmieri <johnp@redhat.com>
Tue, 15 Jan 2008 20:23:57 +0000 (15:23 -0500)
2008-01-15  John (J5) Palmieri  <johnp@redhat.com>

* patch by Kimmo Hämäläinen <kimmo dot hamalainen at nokia dot com>

* dbus/dbus-connection.c (dbus_connection_send_with_reply):
fix possible crash if pending_return is NULL (FDO Bug #12673)

ChangeLog
dbus/dbus-connection.c

index fe796eb..c3d79d1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,11 @@
 2008-01-15  John (J5) Palmieri  <johnp@redhat.com>
+       
+       * patch by Kimmo Hämäläinen <kimmo dot hamalainen at nokia dot com>
+
+       * dbus/dbus-connection.c (dbus_connection_send_with_reply): 
+       fix possible crash if pending_return is NULL (FDO Bug #12673)
+
+2008-01-15  John (J5) Palmieri  <johnp@redhat.com>
 
        * portions of patch submitted by Tim Mooney 
        <enchanter at users dot sourceforge dot net>
index 0de5f22..54f0a92 100644 (file)
@@ -3140,8 +3140,6 @@ dbus_connection_send_with_reply (DBusConnection     *connection,
     {
       CONNECTION_UNLOCK (connection);
 
-      *pending_return = NULL;
-
       return TRUE;
     }