Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/eet

Dir     : e17/libs/eet/src/lib


Modified Files:
        eet_lib.c 


Log Message:


fix segv!

===================================================================
RCS file: /cvs/e/e17/libs/eet/src/lib/eet_lib.c,v
retrieving revision 1.69
retrieving revision 1.70
diff -u -3 -r1.69 -r1.70
--- eet_lib.c   17 Aug 2006 20:22:23 -0000      1.69
+++ eet_lib.c   28 Aug 2006 13:22:16 -0000      1.70
@@ -1050,7 +1050,7 @@
        for (efn = ef->header->directory->nodes[hash]; efn; efn = efn->next)
          {
             /* if it matches */
-            if (eet_string_match(efn->name, name))
+            if ((efn->name) && (eet_string_match(efn->name, name)))
               {
                  free(efn->data);
                  efn->compression = !!compress;



-------------------------------------------------------------------------
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