summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/libsystemd-bus/bus-match.c2
-rw-r--r--src/libsystemd-bus/bus-objects.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/libsystemd-bus/bus-match.c b/src/libsystemd-bus/bus-match.c
index 49fc6335c2..61b8a5cd88 100644
--- a/src/libsystemd-bus/bus-match.c
+++ b/src/libsystemd-bus/bus-match.c
@@ -153,7 +153,7 @@ static bool value_node_test(
* should contain all well-known names of the sender,
* hence we can fix things there correctly. */
- if (node->value.str[0] != ':' && value_str[0] == ':')
+ if (node->value.str[0] != ':' && value_str && value_str[0] == ':')
return true;
return false;
diff --git a/src/libsystemd-bus/bus-objects.c b/src/libsystemd-bus/bus-objects.c
index 5867907a62..05d0015902 100644
--- a/src/libsystemd-bus/bus-objects.c
+++ b/src/libsystemd-bus/bus-objects.c
@@ -600,7 +600,7 @@ static int property_get_all_callbacks_run(
if (r < 0)
return r;
- found_interface =
+ found_interface = !iface ||
streq(iface, "org.freedesktop.DBus.Properties") ||
streq(iface, "org.freedesktop.DBus.Peer") ||
streq(iface, "org.freedesktop.DBus.Introspectable");