X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Flibsystemd-bus%2Fbus-match.c;fp=src%2Flibsystemd-bus%2Fbus-match.c;h=61b8a5cd8878570b034b52b8df33b97e8d33e89a;hb=38911893c55adfe0ec2c01785dfa49059b409d69;hp=49fc6335c23d0815b951a5aefd25fb7655e951e1;hpb=e834047795417b003dbca5a355e8ccdd3148f795;p=elogind.git diff --git a/src/libsystemd-bus/bus-match.c b/src/libsystemd-bus/bus-match.c index 49fc6335c..61b8a5cd8 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;