Enlightenment CVS committal

Author  : tsauerbeck
Project : e17
Module  : libs/eet

Dir     : e17/libs/eet/src/lib


Modified Files:
        eet_lib.c 


Log Message:
check for overflow of of buflen
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/eet/src/lib/eet_lib.c,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -3 -r1.41 -r1.42
--- eet_lib.c   26 May 2005 10:53:53 -0000      1.41
+++ eet_lib.c   26 May 2005 10:58:22 -0000      1.42
@@ -883,7 +883,7 @@
          }
        /* record compressed chunk size */
        data_size = (int)buflen;
-       if (data_size >= size)
+       if (data_size < 0 || data_size >= size)
          {
             compress = 0;
             data_size = size;




-------------------------------------------------------
SF.Net email is sponsored by: GoToMeeting - the easiest way to collaborate
online with coworkers and clients while avoiding the high cost of travel and
communications. There is no equipment to buy and you can meet as often as
you want. Try it free.http://ads.osdn.com/?ad_id=7402&alloc_id=16135&op=click
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to