Enlightenment CVS committal

Author  : devilhorns
Project : e17
Module  : apps/e_utils

Dir     : e17/apps/e_utils/src/bin/e17genmenu


Modified Files:
        parse.c 


Log Message:
Add a check to be sure icon is not null when parsing debian desktop files.

===================================================================
RCS file: /cvs/e/e17/apps/e_utils/src/bin/e17genmenu/parse.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -3 -r1.6 -r1.7
--- parse.c     29 Apr 2006 06:05:51 -0000      1.6
+++ parse.c     29 Jun 2006 06:18:52 -0000      1.7
@@ -18,6 +18,9 @@
    char *dir;
    int i = 0;
 
+   if ((!icon) || (icon == NULL)) 
+      return NULL;
+   
    ptr = icon;
    d = strrchr(ptr, '"');
    if (!d)



Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to