projects
/
apps
/
native
/
starter.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a927bf4
)
[1132868] Resolved coverity issue
47/228047/4
accepted/tizen/unified/20200319.131239
submit/tizen/20200318.120047
author
mohitkr1
<mohit.kr1@samsung.com>
Wed, 18 Mar 2020 10:12:56 +0000
(15:42 +0530)
committer
Mohit Kumar
<mohit.kr1@samsung.com>
Wed, 18 Mar 2020 11:58:13 +0000
(11:58 +0000)
Checker for return value in dbus_message_append_args
Change-Id: I3b3a0f5d0afae71dadf6778ae3906fd02377418d
Signed-off-by: mohitkr1 <mohit.kr1@samsung.com>
src/dbus_util.c
[changed mode: 0644->0755]
patch
|
blob
|
history
diff --git
a/src/dbus_util.c
b/src/dbus_util.c
old mode 100644
(file)
new mode 100755
(executable)
index
d80ff07
..
02d9817
--- a/
src/dbus_util.c
+++ b/
src/dbus_util.c
@@
-211,9
+211,9
@@
void dbus_util_send_sys_lock_teminate_signal(void)
SYS_LOCK_INTERFACE_TERMINATE,
SYS_LOCK_MEMBER_TERMINATE);
- dbus_message_append_args(msg,
- DBUS_TYPE_INT32, &ret,
- DBUS_TYPE_INVALID);
+ if (!dbus_message_append_args(msg, DBUS_TYPE_INT32, &ret, DBUS_TYPE_INVALID)) {
+ _E("dbus_message_append_args error");
+ }
e_dbus_message_send(conn, msg, NULL, -1, NULL);
dbus_message_unref(msg);