r723 - in trunk: . zlib122

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Wed Jul 13 11:10:00 EDT 2005


Author: icculus
Date: 2005-07-13 11:10:00 -0400 (Wed, 13 Jul 2005)
New Revision: 723

Modified:
   trunk/CHANGELOG
   trunk/zlib122/inftrees.c
Log:

Patched zlib security hole discussed here:
  http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-2096



Modified: trunk/CHANGELOG
===================================================================
--- trunk/CHANGELOG	2005-07-13 15:06:21 UTC (rev 722)
+++ trunk/CHANGELOG	2005-07-13 15:10:00 UTC (rev 723)
@@ -2,7 +2,8 @@
  * CHANGELOG.
  */
 
-07132005 - Updated zlib to 1.2.2.
+07132005 - Updated zlib to 1.2.2, and patched it for this security hole:
+           http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-2096
 06122005 - Added support for mingw to Unix build process (thanks, Matze!).
 03162005 - Added missing translation and Portuguese support (thanks, Danny!).
            MPW support and several MacOS Classic fixes (thanks, Chris!).

Modified: trunk/zlib122/inftrees.c
===================================================================
--- trunk/zlib122/inftrees.c	2005-07-13 15:06:21 UTC (rev 722)
+++ trunk/zlib122/inftrees.c	2005-07-13 15:10:00 UTC (rev 723)
@@ -134,7 +134,7 @@
         left -= count[len];
         if (left < 0) return -1;        /* over-subscribed */
     }
-    if (left > 0 && (type == CODES || (codes - count[0] != 1)))
+    if (left > 0 && (type == CODES || max != 1))
         return -1;                      /* incomplete set */
 
     /* generate offsets into symbol table for each length for sorting */




More information about the physfs-commits mailing list