projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f7ee6e8
)
eldbus: null checking before using the pointer
96/88596/1
author
WooHyun Jung
<wh0705.jung@samsung.com>
Tue, 20 Sep 2016 02:18:52 +0000
(11:18 +0900)
committer
WooHyun Jung
<wh0705.jung@samsung.com>
Tue, 20 Sep 2016 02:23:33 +0000
(11:23 +0900)
Change-Id: Ic9ff43257bf21cc7bcb880e0dc05dc7f39ce5950
Signed-off-by: WooHyun Jung <wh0705.jung@samsung.com>
src/lib/eldbus/eldbus_message.c
patch
|
blob
|
history
diff --git
a/src/lib/eldbus/eldbus_message.c
b/src/lib/eldbus/eldbus_message.c
index
f18196c
..
2464d0e
100644
(file)
--- a/
src/lib/eldbus/eldbus_message.c
+++ b/
src/lib/eldbus/eldbus_message.c
@@
-886,6
+886,8
@@
eldbus_message_method_return_new(const Eldbus_Message *msg)
ELDBUS_MESSAGE_CHECK_RETVAL(msg, NULL);
reply = eldbus_message_new(EINA_TRUE);
+ EINA_SAFETY_ON_NULL_RETURN_VAL(reply, NULL);
+
reply->dbus_msg = dbus_message_new_method_return(msg->dbus_msg);
dbus_message_iter_init_append(reply->dbus_msg,