Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pullup ticket 269 - requested by Johnny C. Lam
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
Showing
3 changed files
with
18 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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) { |