dbus/bus signals.c,1.14,1.14.2.1

John Palmieri johnp at kemper.freedesktop.org
Tue Dec 12 11:04:56 PST 2006


Update of /cvs/dbus/dbus/bus
In directory kemper:/tmp/cvs-serv20998/bus

Modified Files:
      Tag: DBUS_1_0
	signals.c 
Log Message:
* bus/signal.c: Fix match_rule_equal errata
  (CVE-2006-6107 - Patch from Kimmo Hämäläinen 
  <kimmo.hamalainen at nokia.com>)


Index: signals.c
===================================================================
RCS file: /cvs/dbus/dbus/bus/signals.c,v
retrieving revision 1.14
retrieving revision 1.14.2.1
diff -u -d -r1.14 -r1.14.2.1
--- signals.c	22 Nov 2005 20:37:00 -0000	1.14
+++ signals.c	12 Dec 2006 19:04:54 -0000	1.14.2.1
@@ -1067,6 +1067,9 @@
   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;



More information about the dbus-commit mailing list