mirror of
https://github.com/clearlinux/systemd-stable.git
synced 2026-10-03 23:38:39 +00:00
sd-bus: add extra assert check
This commit is contained in:
@@ -2063,6 +2063,7 @@ static int bus_message_close_variant(sd_bus_message *m, struct bus_container *c)
|
||||
|
||||
assert(m);
|
||||
assert(c);
|
||||
assert(c->signature);
|
||||
|
||||
if (!BUS_MESSAGE_IS_GVARIANT(m))
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user