mirror of
https://github.com/systemd/systemd.git
synced 2024-11-02 02:21:44 +03:00
sd-bus: add extra assert check
This commit is contained in:
parent
ebf4e8013b
commit
3e49a3a063
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user