* bus/signal.c: Fix match_rule_equal errata

(CVE-2006-6107 - Patch from Kimmo Hämäläinen
  <kimmo.hamalainen@nokia.com>)
This commit is contained in:
John (J5) Palmieri 2006-12-12 19:08:04 +00:00
parent c0dbd2a2b5
commit 1a90c01930
2 changed files with 9 additions and 0 deletions

View file

@ -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,

View 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;