summaryrefslogtreecommitdiffstats
path: root/bus
diff options
context:
space:
mode:
authorJohn (J5) Palmieri <johnp@redhat.com>2006-12-12 19:08:04 +0000
committerJohn (J5) Palmieri <johnp@redhat.com>2006-12-12 19:08:04 +0000
commit6cdf261747895e20b66ea8c615de49aa79f34c6b (patch)
tree429ef44f86397655a6fe9cc563336431dc71aca1 /bus
parent9464d1c17d963dd4f6f8fc2021bcce11a9a4ce30 (diff)
* bus/signal.c: Fix match_rule_equal errata
(CVE-2006-6107 - Patch from Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>)
Diffstat (limited to 'bus')
-rw-r--r--bus/signals.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/bus/signals.c b/bus/signals.c
index abc38770..a1c68416 100644
--- a/bus/signals.c
+++ b/bus/signals.c
@@ -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;