Skip to content

Commit

Permalink
Pullup ticket 269 - requested by Johnny C. Lam
Browse files Browse the repository at this point in the history
security fix for cups

Revisions pulled up:
- pkgsrc/print/cups/Makefile         1.88
- pkgsrc/print/cups/distinfo         1.29
- pkgsrc/print/cups/patches/patch-au 1.3

   Module Name:		pkgsrc
   Committed By:	drochner
   Date:		Wed Jan 19 11:03:23 UTC 2005

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

   Log Message:
   apply the last xpdf security patch to the embedded pdftops filter
   which is based on xpdf, bump PKGREVISION
  • Loading branch information
salo committed Feb 5, 2005
1 parent 8072eec commit 84732ef
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 2 deletions.
3 changes: 2 additions & 1 deletion print/cups/Makefile
@@ -1,11 +1,12 @@
# $NetBSD: Makefile,v 1.82.2.1 2005/01/11 17:13:43 salo Exp $
# $NetBSD: Makefile,v 1.82.2.2 2005/02/05 17:47:19 salo Exp $
#
# The CUPS author is very good about taking back changes into the main
# CUPS distribution. The correct place to send patches or bug-fixes is:
# cups-bugs@cups.org.

DISTNAME= cups-${DIST_VERS}-source
PKGNAME= cups-${VERS}
PKGREVISION= 1
BASE_VERS= 1.1.23
DIST_VERS= ${BASE_VERS}
VERS= ${DIST_VERS:S/-/./g}
Expand Down
3 changes: 2 additions & 1 deletion print/cups/distinfo
@@ -1,4 +1,4 @@
$NetBSD: distinfo,v 1.26.2.1 2005/01/11 17:13:43 salo Exp $
$NetBSD: distinfo,v 1.26.2.2 2005/02/05 17:47:19 salo Exp $

SHA1 (cups-1.1.23-source.tar.bz2) = 32d5bfb44c4edc1b54ccb014b5a44499295c6c5c
Size (cups-1.1.23-source.tar.bz2) = 8705521 bytes
Expand All @@ -8,3 +8,4 @@ SHA1 (patch-ad) = 166749eb9fc7b4b20e123d81cd3b2cf96db27677
SHA1 (patch-an) = de699800471069b1521ab2ba7194df445fb75892
SHA1 (patch-ao) = c4c8f833cf4a09a686a338df6c209cebec36c6ef
SHA1 (patch-at) = aa36ec591164675b889d2cf32e4d754e9b6db94f
SHA1 (patch-au) = 48d63140a54ff4b5af4216cfe6454adef4b66781
14 changes: 14 additions & 0 deletions print/cups/patches/patch-au
@@ -0,0 +1,14 @@
$NetBSD: patch-au,v 1.2.10.1 2005/02/05 17:47:19 salo Exp $

--- pdftops/XRef.cxx.orig 2004-10-13 22:55:53.000000000 +0200
+++ pdftops/XRef.cxx
@@ -527,6 +527,9 @@ GBool XRef::checkEncrypted(GString *owne
} else {
keyLength = 5;
}
+ if (keyLength > 16) {
+ keyLength = 16;
+ }
permFlags = permissions.getInt();
if (encVersion >= 1 && encVersion <= 2 &&
encRevision >= 2 && encRevision <= 3) {

0 comments on commit 84732ef

Please sign in to comment.