From f820cf99c1cdb58e270fdf92389fea0413c1484e Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 10 Dec 2013 23:11:10 +0000 Subject: bus: do not dispatch incoming method calls that are broacasted to vtables --- src/libsystemd-bus/bus-objects.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/libsystemd-bus/bus-objects.c') diff --git a/src/libsystemd-bus/bus-objects.c b/src/libsystemd-bus/bus-objects.c index 8ffda2f95d..204e21d5d8 100644 --- a/src/libsystemd-bus/bus-objects.c +++ b/src/libsystemd-bus/bus-objects.c @@ -1284,6 +1284,10 @@ int bus_process_object(sd_bus *bus, sd_bus_message *m) { if (hashmap_isempty(bus->nodes)) return 0; + /* Never respond to broadcast messages */ + if (bus->bus_client && !m->destination) + return 0; + assert(m->path); assert(m->member); -- cgit v1.2.3-54-g00ecf