jypark pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=13bd4242eca76560fbefd690934bc63a5fbd28c3

commit 13bd4242eca76560fbefd690934bc63a5fbd28c3
Author: Ji-Youn Park <jy0703.p...@samsung.com>
Date:   Tue Sep 20 18:10:32 2016 +0830

    eldbus: fix null value usage
---
 src/lib/eldbus/eldbus_message.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/lib/eldbus/eldbus_message.c b/src/lib/eldbus/eldbus_message.c
index 2464d0e..91f69b2 100644
--- a/src/lib/eldbus/eldbus_message.c
+++ b/src/lib/eldbus/eldbus_message.c
@@ -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);

-- 


Reply via email to