pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/zlib update to 1.2.3



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4a6db4b2fcb4
branches:  trunk
changeset: 497218:4a6db4b2fcb4
user:      drochner <drochner%pkgsrc.org@localhost>
date:      Fri Jul 22 16:04:43 2005 +0000

description:
update to 1.2.3
this fixes (at least) another security problem (DoS, CAN-2005-1849)
changes:
-Eliminate a potential security vulnerability when decoding invalid
 compressed data
-Eliminate a potential security vulnerability when decoding specially
 crafted compressed data
-Fix a bug when decompressing dynamic blocks with no distance codes
-Fix crc check bug in gzread() after gzungetc()
-Do not return an error when using gzread() on an empty file

diffstat:

 devel/zlib/Makefile         |   5 ++---
 devel/zlib/buildlink3.mk    |   4 ++--
 devel/zlib/distinfo         |   9 ++++-----
 devel/zlib/patches/patch-ab |  13 -------------
 4 files changed, 8 insertions(+), 23 deletions(-)

diffs (63 lines):

diff -r dafe40d28057 -r 4a6db4b2fcb4 devel/zlib/Makefile
--- a/devel/zlib/Makefile       Fri Jul 22 14:27:52 2005 +0000
+++ b/devel/zlib/Makefile       Fri Jul 22 16:04:43 2005 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.30 2005/07/07 10:43:19 drochner Exp $
+# $NetBSD: Makefile,v 1.31 2005/07/22 16:04:43 drochner Exp $
 
-DISTNAME=      zlib-1.2.2
-PKGREVISION=   1
+DISTNAME=      zlib-1.2.3
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=libpng/} \
                http://www.libpng.org/pub/png/src/ \
diff -r dafe40d28057 -r 4a6db4b2fcb4 devel/zlib/buildlink3.mk
--- a/devel/zlib/buildlink3.mk  Fri Jul 22 14:27:52 2005 +0000
+++ b/devel/zlib/buildlink3.mk  Fri Jul 22 16:04:43 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.19 2005/07/07 11:46:55 tron Exp $
+# $NetBSD: buildlink3.mk,v 1.20 2005/07/22 16:04:43 drochner Exp $
 
 BUILDLINK_DEPTH:=      ${BUILDLINK_DEPTH}+
 ZLIB_BUILDLINK3_MK:=   ${ZLIB_BUILDLINK3_MK}+
@@ -12,7 +12,7 @@
 
 .if !empty(ZLIB_BUILDLINK3_MK:M+)
 BUILDLINK_DEPENDS.zlib+=       zlib>=1.1.4nb1
-BUILDLINK_RECOMMENDED.zlib+=   zlib>=1.2.2nb1
+BUILDLINK_RECOMMENDED.zlib+=   zlib>=1.2.3
 BUILDLINK_PKGSRCDIR.zlib?=     ../../devel/zlib
 .endif # ZLIB_BUILDLINK3_MK
 
diff -r dafe40d28057 -r 4a6db4b2fcb4 devel/zlib/distinfo
--- a/devel/zlib/distinfo       Fri Jul 22 14:27:52 2005 +0000
+++ b/devel/zlib/distinfo       Fri Jul 22 16:04:43 2005 +0000
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.13 2005/07/07 10:43:19 drochner Exp $
+$NetBSD: distinfo,v 1.14 2005/07/22 16:04:43 drochner Exp $
 
-SHA1 (zlib-1.2.2.tar.gz) = e6ec67108bfd1f321eb4f1bd192b648725219595
-RMD160 (zlib-1.2.2.tar.gz) = 374a85839d821c75f5630c7effd7f7e2047f67bb
-Size (zlib-1.2.2.tar.gz) = 430469 bytes
+SHA1 (zlib-1.2.3.tar.gz) = 60faeaaf250642db5c0ea36cd6dcc9f99c8f3902
+RMD160 (zlib-1.2.3.tar.gz) = 89a57e336c24f7f6eebda3a1724e14b71187e117
+Size (zlib-1.2.3.tar.gz) = 496597 bytes
 SHA1 (patch-aa) = d3edeb170bf192ca986b00bc984b0de3487068b9
-SHA1 (patch-ab) = e9980a8dc5de17dffce276c147e4909867a4ef8b
diff -r dafe40d28057 -r 4a6db4b2fcb4 devel/zlib/patches/patch-ab
--- a/devel/zlib/patches/patch-ab       Fri Jul 22 14:27:52 2005 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-$NetBSD: patch-ab,v 1.5 2005/07/07 10:43:19 drochner Exp $
-
---- inftrees.c.orig    2005-07-07 12:31:09.000000000 +0200
-+++ inftrees.c
-@@ -134,7 +134,7 @@ unsigned short FAR *work;
-         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 */



Home | Main Index | Thread Index | Old Index