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:
ad89614
)
Fix svace defect
58/56158/1
accepted/tizen/mobile/20160106.002540
accepted/tizen/tv/20160106.002547
accepted/tizen/wearable/20160106.002558
submit/tizen/20160105.044256
author
Minje Ahn
<minje.ahn@samsung.com>
Tue, 5 Jan 2016 04:37:09 +0000
(13:37 +0900)
committer
Minje Ahn
<minje.ahn@samsung.com>
Tue, 5 Jan 2016 04:37:09 +0000
(13:37 +0900)
Change-Id: I568c47c9cd45db610f0d6873a23f1ba3c87fdeb9
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
src/scanner-v2/media-scanner-scan-v2.c
patch
|
blob
|
history
diff --git
a/src/scanner-v2/media-scanner-scan-v2.c
b/src/scanner-v2/media-scanner-scan-v2.c
index
c981951
..
dd474c7
100755
(executable)
--- a/
src/scanner-v2/media-scanner-scan-v2.c
+++ b/
src/scanner-v2/media-scanner-scan-v2.c
@@
-1241,7
+1241,7
@@
static int __msc_check_ignore_dir(const char *full_path, uid_t uid)
}
dir_path = g_path_get_dirname(full_path);
- if (strcmp(dir_path, ".") == 0) {
+ if (
dir_path == NULL ||
strcmp(dir_path, ".") == 0) {
MS_DBG_ERR("getting directory path is failed : %s", full_path);
MS_SAFE_FREE(dir_path);
return MS_MEDIA_ERR_INVALID_PATH;