Enlightenment CVS committal

Author  : raster
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/bin


Modified Files:
        e_utils.c 


Log Message:


oops segv. fix.

===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_utils.c,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -3 -r1.21 -r1.22
--- e_utils.c   30 Jul 2005 08:19:41 -0000      1.21
+++ e_utils.c   30 Jul 2005 08:22:24 -0000      1.22
@@ -262,6 +262,7 @@
    char *buf;
    char *p, *c;
    
+   if ((!list) || (!list[0])) return 0;
    buf = malloc(strlen(list) + 1);
    p = list;
    while (p)
@@ -303,6 +304,7 @@
    char *buf;
    char *p, *c;
    
+   if ((!list) || (!list[0])) return 0;
    buf = malloc(strlen(list) + 1);
    p = list;
    while (p)




-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to