discomfitor pushed a commit to branch master.

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

commit d391e5c1301d13c48202d45e9fb1fc80f4b5ebd3
Author: Mike Blumenkrantz <[email protected]>
Date:   Thu Mar 13 12:52:36 2014 -0400

    validate params for e_dnd_util_text_uri_list_convert()
    
    CID 1040144
---
 src/bin/e_dnd.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/bin/e_dnd.c b/src/bin/e_dnd.c
index bc4674b..51cb797 100644
--- a/src/bin/e_dnd.c
+++ b/src/bin/e_dnd.c
@@ -566,6 +566,7 @@ e_dnd_util_text_uri_list_convert(char *data, int size)
    int i, is;
    Eina_List *ret = NULL;
 
+   if ((!data) || (!size)) return NULL;
    tmp = malloc(size);
    is = i = 0;
    while ((is < size) && (data[is]))

-- 


Reply via email to