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:
71ec6a9
)
eldbus: null checking before using the pointer
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:18:52 +0000
(11:18 +0900)
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,