* bus/signal.c: Fix match_rule_equal errata
authorJohn (J5) Palmieri <johnp@redhat.com>
Tue, 12 Dec 2006 19:08:04 +0000 (19:08 +0000)
committerJohn (J5) Palmieri <johnp@redhat.com>
Tue, 12 Dec 2006 19:08:04 +0000 (19:08 +0000)
  (CVE-2006-6107 - Patch from Kimmo Hämäläinen
  <kimmo.hamalainen@nokia.com>)

ChangeLog
bus/signals.c

index dae3f5f..be1832d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2006-12-12  John (J5) Palmieri  <johnp@redhat.com>
+
+       * bus/signal.c: Fix match_rule_equal errata
+       (CVE-2006-6107 - Patch from Kimmo Hämäläinen 
+       <kimmo.hamalainen@nokia.com>)
+
 2006-11-19  Thiago Macieira  <thiago@kde.org>
 
        * dbus/dbus-sysdeps-pthread.c (_dbus_pthread_mutex_lock,
index abc3877..a1c6841 100644 (file)
@@ -1067,6 +1067,9 @@ match_rule_equal (BusMatchRule *a,
   if (a->flags != b->flags)
     return FALSE;
 
+  if (a->matches_go_to != b->matches_go_to)
+    return FALSE;
+
   if ((a->flags & BUS_MATCH_MESSAGE_TYPE) &&
       a->message_type != b->message_type)
     return FALSE;