mirror of
https://github.com/systemd/systemd.git
synced 2024-11-07 01:27:11 +03:00
bus: do not dispatch incoming method calls that are broacasted to vtables
This commit is contained in:
parent
a82cafb97b
commit
f820cf99c1
@ -1284,6 +1284,10 @@ int bus_process_object(sd_bus *bus, sd_bus_message *m) {
|
|||||||
if (hashmap_isempty(bus->nodes))
|
if (hashmap_isempty(bus->nodes))
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
|
/* Never respond to broadcast messages */
|
||||||
|
if (bus->bus_client && !m->destination)
|
||||||
|
return 0;
|
||||||
|
|
||||||
assert(m->path);
|
assert(m->path);
|
||||||
assert(m->member);
|
assert(m->member);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user