gdbus: Fix match rule for NameOwnerChanged
authorAlban Crequy <alban.crequy@collabora.co.uk>
Tue, 15 Jul 2014 10:29:41 +0000 (11:29 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 15 Sep 2014 16:03:46 +0000 (18:03 +0200)
commit7fb48999707c778212707c634a84ef87852ec86e
treeb63787e56b85a74556d4af697cb1c24504a3059a
parent1e0c41889f7e9a79c2fb10844c0d7e41c523b08e
gdbus: Fix match rule for NameOwnerChanged

When subscribing to the D-Bus signal NameOwnerChanged from the bus driver,
specify the object path and the sender in the match rule. Otherwise, random
connections on the bus could impersonate the bus driver.
gdbus/watch.c