summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn (J5) Palmieri <johnp@redhat.com>2006-08-25 19:56:00 +0000
committerJohn (J5) Palmieri <johnp@redhat.com>2006-08-25 19:56:00 +0000
commit5ee4ac1a303b3c66ff300eef55abd5f5d312cc0a (patch)
treefee2526e196c4f3d55792f2d179e915ee946ec01
parent163f42a8b14491ea6f70a20a8d93f580d43f6c40 (diff)
* dbus/dbus-transport.c: fix invalid deref when checking if
a vtable method exists (Patch from Christian Ehrlicher <ch dot ehrlicher at gmx dot de>)
-rw-r--r--ChangeLog6
-rw-r--r--dbus/dbus-transport.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 86d0bf7b..de683b75 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2006-08-25 John (J5) Palmieri <johnp@redhat.com>
+ * dbus/dbus-transport.c: fix invalid deref when checking if
+ a vtable method exists (Patch from Christian Ehrlicher
+ <ch dot ehrlicher at gmx dot de>)
+
+2006-08-25 John (J5) Palmieri <johnp@redhat.com>
+
* configure.in, dbus/Makefile.am, test/name-test/run-test.sh,
test/name-test/Makefile.am: Fixed some issues with getting get dbus
to build with builddir != srcdir (Taken from a patch by Bernard Leak
diff --git a/dbus/dbus-transport.c b/dbus/dbus-transport.c
index ca5f747d..e155cc46 100644
--- a/dbus/dbus-transport.c
+++ b/dbus/dbus-transport.c
@@ -68,7 +68,7 @@ live_messages_size_notify (DBusCounter *counter,
/* disable or re-enable the read watch for the transport if
* required.
*/
- if (* transport->vtable->live_messages_changed)
+ if (transport->vtable->live_messages_changed)
(* transport->vtable->live_messages_changed) (transport);
_dbus_transport_unref (transport);