mirror of
https://github.com/systemd/systemd.git
synced 2024-11-05 06:52:22 +03:00
bus: when parsing signature strings, accept NULL as empty signature
This commit is contained in:
parent
eba8617efc
commit
88d331d537
@ -1250,7 +1250,9 @@ int bus_message_append_ap(
|
||||
int r;
|
||||
|
||||
assert(m);
|
||||
assert(types);
|
||||
|
||||
if (!types)
|
||||
return 0;
|
||||
|
||||
for (t = types; *t; t++) {
|
||||
switch (*t) {
|
||||
|
Loading…
Reference in New Issue
Block a user