Enlightenment CVS committal Author : raster Project : e17 Module : libs/evas
Dir : e17/libs/evas/src/modules/loaders/eet Modified Files: evas_image_load_eet.c Log Message: check dimensions for safety =================================================================== RCS file: /cvs/e/e17/libs/evas/src/modules/loaders/eet/evas_image_load_eet.c,v retrieving revision 1.7 retrieving revision 1.8 diff -u -3 -r1.7 -r1.8 --- evas_image_load_eet.c 28 Oct 2006 03:02:22 -0000 1.7 +++ evas_image_load_eet.c 5 Nov 2006 05:07:52 -0000 1.8 @@ -32,7 +32,7 @@ eet_close(ef); return 0; } - if ((w > 8192) || (h > 8192)) + if ((w < 1) || (h < 1) || (w > 8192) || (h > 8192)) { eet_close(ef); return 0; @@ -71,7 +71,7 @@ eet_close(ef); return 0; } - if ((w > 8192) || (h > 8192)) + if ((w < 1) || (h < 1) || (w > 8192) || (h > 8192)) { free(body); eet_close(ef); ------------------------------------------------------------------------- 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