Resolved Issue TSAM-3398 23/72023/1 submit/tizen_mobile/20160603.131855
authorbhutani.92 <bhutani.92@samsung.com>
Mon, 30 May 2016 08:48:30 +0000 (14:18 +0530)
committerbhutani.92 <bhutani.92@samsung.com>
Mon, 30 May 2016 08:48:30 +0000 (14:18 +0530)
Change-Id: I37c31d195e35ee543e4e98eeb9c34edce0cb9eb2
Signed-off-by: bhutani.92 <bhutani.92@samsung.com>
src/common/file-operation/mf-search-internal.c

index 7220c54..40e9f8e 100755 (executable)
@@ -562,6 +562,12 @@ int _mf_search_start(ms_handle_t *handle,
 
        for (i = 0; i < path_num; i++) {
                const char *path = root_path[i];
+
+               if (!strcmp(path, "(null)")) {
+                       mf_debug("path is null");
+                       continue;
+               }
+
                mf_debug("%d th root path is %s", i, path);
 #ifdef CHECK_RESTRICTED_PATH
                if (!__mf_search_check_licet_path(path)) {