eldbus: fix null value usage 13/88713/2
authorJi-Youn Park <jy0703.park@samsung.com>
Tue, 20 Sep 2016 09:42:51 +0000 (18:12 +0830)
committerGerrit Code Review <gerrit@review.vlan103.tizen.org>
Tue, 20 Sep 2016 23:35:12 +0000 (16:35 -0700)
opensource-commit 13bd4242eca76560fbefd690934bc63a5fbd28c3
Author: Ji-Youn Park <jy0703.park@samsung.com>
Date:   Tue Sep 20 18:10:32 2016 +0830

Change-Id: I78bfd1aab568bba1449bb418fa64e2c2c4a0e927

src/lib/eldbus/eldbus_message.c

index 2464d0e..91f69b2 100644 (file)
@@ -467,6 +467,7 @@ _eldbus_message_arguments_vappend(Eldbus_Message *msg, const char *signature, va
                                    EINA_FALSE);
 
    iter = eldbus_message_iter_get(msg);
+   EINA_SAFETY_ON_NULL_RETURN_VAL(iter, EINA_FALSE);
    EINA_SAFETY_ON_FALSE_RETURN_VAL(iter->writable, EINA_FALSE);
 
    dbus_signature_iter_init(&signature_iter, signature);