projects
/
platform
/
upstream
/
enlightenment.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a3f604f
)
e_info_server: stop loop if client is NULL
25/249925/1
accepted/tizen/unified/20201222.122621
submit/tizen/20201219.005909
author
Junseok, Kim
<juns.kim@samsung.com>
Thu, 17 Dec 2020 08:04:03 +0000
(17:04 +0900)
committer
Junseok, Kim
<juns.kim@samsung.com>
Thu, 17 Dec 2020 10:25:20 +0000
(19:25 +0900)
if the client is NULL, then stop the loop for prevent NULL pointer dereference.
Change-Id: I7f35aac091f1ef61a456c7a57e4b38e1abf30ecf
Signed-off-by: Junseok, Kim <juns.kim@samsung.com>
src/bin/e_info_server.c
patch
|
blob
|
history
diff --git
a/src/bin/e_info_server.c
b/src/bin/e_info_server.c
index cd41a0f3fff792fd0f14abf2f29a26b598306c9b..2b0f19ae38033880afdbc1aae84aea214f5594ae 100644
(file)
--- a/
src/bin/e_info_server.c
+++ b/
src/bin/e_info_server.c
@@
-5626,7
+5626,7
@@
_e_info_server_pid_kill(pid_t id, Eldbus_Message_Iter *array_of_string)
wl_client_for_each(client, client_list)
{
- if (!client)
continue
;
+ if (!client)
break
;
wl_client_get_credentials(client, &pid, NULL, NULL);
if (pid != id) continue;