diff options
author | drochner <drochner@pkgsrc.org> | 2005-01-19 11:03:23 +0000 |
---|---|---|
committer | drochner <drochner@pkgsrc.org> | 2005-01-19 11:03:23 +0000 |
commit | 5eb184397dfd8a5a7ed27f63f39f8844ff7fa40d (patch) | |
tree | c23a593cb4026ad3f912169e0c1627f649c9dd72 /print/cups/patches | |
parent | d8655940955b28f8ac282befc7c380f199d60feb (diff) | |
download | pkgsrc-5eb184397dfd8a5a7ed27f63f39f8844ff7fa40d.tar.gz |
apply the last xpdf security patch to the embedded pdftops filter
which is based on xpdf, bump PKGREVISUIN
Diffstat (limited to 'print/cups/patches')
-rw-r--r-- | print/cups/patches/patch-au | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/print/cups/patches/patch-au b/print/cups/patches/patch-au new file mode 100644 index 00000000000..de9ed1624a4 --- /dev/null +++ b/print/cups/patches/patch-au @@ -0,0 +1,14 @@ +$NetBSD: patch-au,v 1.3 2005/01/19 11:03:23 drochner 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) { |