projects
/
platform
/
core
/
api
/
media-controller.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7813845
)
Fix web TCT failed
54/48054/1
tizen_3.0.m1_mobile
tizen_3.0.m1_tv
accepted/tizen/mobile/20150911.145733
accepted/tizen/tv/20150911.145743
accepted/tizen/wearable/20150911.145754
submit/tizen/20150911.125345
submit/tizen_common/20151023.083358
submit/tizen_common/20151026.085049
tizen_3.0.m1_mobile_release
tizen_3.0.m1_tv_release
author
Ji Yong Min
<jiyong.min@samsung.com>
Fri, 11 Sep 2015 12:43:16 +0000
(21:43 +0900)
committer
Ji Yong Min
<jiyong.min@samsung.com>
Fri, 11 Sep 2015 12:44:27 +0000
(21:44 +0900)
- Remove list alloc, it has security issue
Change-Id: I41f1b7ba60966d684759e6aae8d7a7edef02769c
Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
svc/media_controller_svc.c
patch
|
blob
|
history
diff --git
a/svc/media_controller_svc.c
b/svc/media_controller_svc.c
index
fa6e758
..
0c7dcef
100755
(executable)
--- a/
svc/media_controller_svc.c
+++ b/
svc/media_controller_svc.c
@@
-240,14
+240,6
@@
gboolean mc_svc_thread(void *data)
return FALSE;
}
- /* Create list for command*/
- mc_svc_data->mc_svc_list = g_list_alloc();
- if (mc_svc_data->mc_svc_list == NULL) {
- mc_error("Failed to allocate list");
- close(sockfd);
- return FALSE;
- }
-
context = g_main_context_new();
if (context == NULL) {
mc_error("g_main_context_new failed");