Subject: CVS commit: pkgsrc/print/cups
To: None <pkgsrc-changes@NetBSD.org>
From: Matthias Drochner <drochner@netbsd.org>
List: pkgsrc-changes
Date: 03/02/2005 18:33:02
Module Name:	pkgsrc
Committed By:	drochner
Date:		Wed Mar  2 18:33:02 UTC 2005

Modified Files:
	pkgsrc/print/cups: Makefile distinfo
	pkgsrc/print/cups/patches: patch-au
Added Files:
	pkgsrc/print/cups/patches: patch-av

Log Message:
Fix  CAN-2005-0206:
An overflow check introduced earlier (for CAN-2004-0888) was never
triggered on 64-bit systems because 64-bit arithmetics was used there.
Sprinkle some casts to int su that the overflow can happen.
This fix is similar to the redhat one. The fix for similar code
in print/teTeX-bin looks much cleaner, but since cups already contains
the wrong redhad fix, I've chosen to stay close to the original.
bump PKGREVISION


To generate a diff of this commit:
cvs rdiff -r1.89 -r1.90 pkgsrc/print/cups/Makefile
cvs rdiff -r1.30 -r1.31 pkgsrc/print/cups/distinfo
cvs rdiff -r1.3 -r1.4 pkgsrc/print/cups/patches/patch-au
cvs rdiff -r0 -r1.3 pkgsrc/print/cups/patches/patch-av

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