Subject: CVS commit: [netbsd-1-6-1] pkgsrc/devel/zlib/patches
To: None <pkgsrc-changes@netbsd.org>
From: grant beattie <grant@netbsd.org>
List: pkgsrc-changes
Date: 06/19/2003 00:50:51
Module Name:	pkgsrc
Committed By:	grant
Date:		Thu Jun 19 00:50:50 UTC 2003

Added Files:
	pkgsrc/devel/zlib/patches [netbsd-1-6-1]: patch-aa

Log Message:
Create new file from rev 1.3 (requested by salo in ticket #1291):

Darwin has no static libz, mark it incompatible.

mark Linux zlib as incompatible to avoid using base zlib which can
cause problems with pkgsrc libtool, eg.

libtool: link: AGE `4' is greater than the current interface number `1'
libtool: link: `1:1:4' is not valid version information
libtool: install: `libz.la' is not a valid libtool archive

Added fix for CAN-2003-0107 -
Buffer overflow in the gzprintf function in zlib 1.1.4, when zlib is compiled
without vsnprintf or when long inputs are truncated using vsnprintf, allows
attackers to cause a denial of service or possibly execute arbitrary code.
From OpenBSD.

Restore configure target and add check for [v]snprintf.

Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -r0 -r1.3.2.1 pkgsrc/devel/zlib/patches/patch-aa

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.