dbus/dbus-1.0.1-cve_2006_6107.patch

13 lines
418 B
Diff

--- dbus-1.0.1/bus/signals.c.orig 2007-04-02 13:34:02.000000000 +0200
+++ dbus-1.0.1/bus/signals.c 2007-04-02 13:35:19.000000000 +0200
@@ -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;