raster pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=a149ff6d79e77411c509635c9c469c4b0b5a4989

commit a149ff6d79e77411c509635c9c469c4b0b5a4989
Author: Carsten Haitzler (Rasterman) <ras...@rasterman.com>
Date:   Thu Jun 25 11:32:58 2015 +0900

    efl -> fix possible null deref in efreetd ipc
    
    this fixes CID 1308358
---
 src/bin/efreet/efreetd_ipc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/efreet/efreetd_ipc.c b/src/bin/efreet/efreetd_ipc.c
index 7b918d4..15aa03d 100644
--- a/src/bin/efreet/efreetd_ipc.c
+++ b/src/bin/efreet/efreetd_ipc.c
@@ -63,7 +63,7 @@ _parse_strs(void *data, int size)
                   p1 = e;
                }
           }
-        if (!*p)
+        if ((!*p) && (p0))
           {
              p1 = strdup(p0);
              if (p1) list = eina_list_append(list, p1);

-- 


Reply via email to