summaryrefslogtreecommitdiff
path: root/src/libsystemd/sd-bus
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-12-04 20:30:46 +0100
committerLennart Poettering <lennart@poettering.net>2014-12-04 20:30:46 +0100
commit3e49a3a0633b808fef5fca0a36228e6d70b50bd7 (patch)
treeaabe0ed652ab30f1f354793712c3931a43a65c4f /src/libsystemd/sd-bus
parentebf4e8013b2928fdcfa6008ee6559e8c7e1fd60b (diff)
sd-bus: add extra assert check
Diffstat (limited to 'src/libsystemd/sd-bus')
-rw-r--r--src/libsystemd/sd-bus/bus-message.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libsystemd/sd-bus/bus-message.c b/src/libsystemd/sd-bus/bus-message.c
index 2c85130d19..ec3a39d051 100644
--- a/src/libsystemd/sd-bus/bus-message.c
+++ b/src/libsystemd/sd-bus/bus-message.c
@@ -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;