jaehyun pushed a commit to branch master.

http://git.enlightenment.org/tools/enventor.git/commit/?id=5e4cbcfc9c1f08962f0ceae6212f3bb99897c96f

commit 5e4cbcfc9c1f08962f0ceae6212f3bb99897c96f
Author: Jaehyun Cho <jae_hyun....@samsung.com>
Date:   Tue May 3 13:08:00 2016 +0900

    file_browser: Fix crash that occurs when file does not exist.
    
    ecore_file_exists() returns EINA_FALSE for some cases although the given
    file exists. This commit is for the above malfunction cases.
---
 src/bin/file_browser.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/bin/file_browser.c b/src/bin/file_browser.c
index 8302fc9..f013e1b 100644
--- a/src/bin/file_browser.c
+++ b/src/bin/file_browser.c
@@ -273,6 +273,7 @@ sub_brows_file_list_create(brows_file *file)
 
         brows_file *sub_file = brows_file_create(sub_file_path);
         free(sub_file_path);
+        if (!sub_file) continue;
 
         sub_file_list =
            eina_list_sorted_insert(sub_file_list,

-- 


Reply via email to