From 5027efc6986b318257a539e280d4c5ec9dc85899 Mon Sep 17 00:00:00 2001 From: Ji-Youn Park Date: Tue, 20 Sep 2016 18:12:51 +0830 Subject: [PATCH] eldbus: fix null value usage opensource-commit 13bd4242eca76560fbefd690934bc63a5fbd28c3 Author: Ji-Youn Park Date: Tue Sep 20 18:10:32 2016 +0830 Change-Id: I78bfd1aab568bba1449bb418fa64e2c2c4a0e927 --- 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); -- 2.7.4