efl -> fix possible null deref in efreetd ipc

this fixes CID 1308358
This commit is contained in:
Carsten Haitzler 2015-06-25 11:32:58 +09:00
parent e50b3e75e4
commit a149ff6d79
1 changed files with 1 additions and 1 deletions

View File

@ -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);