[systemd-commits] src/libsystemd

Lennart Poettering lennart at kemper.freedesktop.org
Thu Dec 4 11:31:35 PST 2014


 src/libsystemd/sd-bus/bus-message.c |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 3e49a3a0633b808fef5fca0a36228e6d70b50bd7
Author: Lennart Poettering <lennart at poettering.net>
Date:   Thu Dec 4 20:30:46 2014 +0100

    sd-bus: add extra assert check

diff --git a/src/libsystemd/sd-bus/bus-message.c b/src/libsystemd/sd-bus/bus-message.c
index 2c85130..ec3a39d 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;



More information about the systemd-commits mailing list