Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/imlib2

Dir     : e17/libs/imlib2/src/modules/loaders


Modified Files:
        loader_bmp.c 


Log Message:


bmp patch

===================================================================
RCS file: 
/cvsroot/enlightenment/e17/libs/imlib2/src/modules/loaders/loader_bmp.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- loader_bmp.c        14 Dec 2004 03:50:46 -0000      1.2
+++ loader_bmp.c        7 Jan 2005 00:43:34 -0000       1.3
@@ -139,7 +139,7 @@
            return 0;
         }
       
-      if ((w > 8192) || (h > 8192))
+      if ((w < 1) || (h < 1) || (w > 8192) || (h > 8192))
        {
           fclose(f);
           return 0;




-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to