diff options
Diffstat (limited to 'print/cups/patches/patch-au')
-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) { |