projects
/
platform
/
core
/
multimedia
/
media-server.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d668b1e
)
Add NULL check when receive msg error
47/53947/2
accepted/tizen/mobile/20151211.054310
accepted/tizen/tv/20151211.062402
accepted/tizen/wearable/20151211.061113
submit/tizen/20151211.002025
author
Minje Ahn
<minje.ahn@samsung.com>
Thu, 10 Dec 2015 09:34:40 +0000
(18:34 +0900)
committer
hj kim
<backto.kim@samsung.com>
Thu, 10 Dec 2015 09:39:01 +0000
(
01:39
-0800)
Change-Id: I63ad77933d9a070d544f5a3747932840ef52c5c2
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
lib/media-util-register.c
patch
|
blob
|
history
diff --git
a/lib/media-util-register.c
b/lib/media-util-register.c
index
4b44125
..
0d12c61
100755
(executable)
--- a/
lib/media-util-register.c
+++ b/
lib/media-util-register.c
@@
-202,6
+202,10
@@
gboolean _read_socket(GIOChannel *src, GIOCondition condition, gpointer data)
MSAPI_DBG("request_type :%d", req_result.request_type);
ERROR:
+ if (req_result.complete_path == NULL) {
+ MSAPI_DBG_ERR("complete_path is NULL");
+ return TRUE;
+ }
/*NEED MUTEX*/
g_mutex_lock(&scan_req_mutex);
if (req_list != NULL) {