aboutsummaryrefslogtreecommitdiff
path: root/editors/koffice-kde3/files
diff options
context:
space:
mode:
authorMichael Nottebrock <lofi@FreeBSD.org>2005-01-20 23:22:58 +0000
committerMichael Nottebrock <lofi@FreeBSD.org>2005-01-20 23:22:58 +0000
commitc610981731e47095d8f6d310376c433c9e45e30c (patch)
tree2504d45aec9029beca1dc06291f0cc070e48435a /editors/koffice-kde3/files
parent9908d0064aacbd04adc8abe47ce8d343a92cb454 (diff)
downloadports-c610981731e47095d8f6d310376c433c9e45e30c.tar.gz
ports-c610981731e47095d8f6d310376c433c9e45e30c.zip
Notes
Diffstat (limited to 'editors/koffice-kde3/files')
-rw-r--r--editors/koffice-kde3/files/patch-post-1.3.5-koffice.diff15
1 files changed, 15 insertions, 0 deletions
diff --git a/editors/koffice-kde3/files/patch-post-1.3.5-koffice.diff b/editors/koffice-kde3/files/patch-post-1.3.5-koffice.diff
new file mode 100644
index 000000000000..4635b7562fac
--- /dev/null
+++ b/editors/koffice-kde3/files/patch-post-1.3.5-koffice.diff
@@ -0,0 +1,15 @@
+--- filters/kword/pdf/xpdf/xpdf/XRef.cc 30 Oct 2004 16:35:33 -0000 1.6
++++ filters/kword/pdf/xpdf/xpdf/XRef.cc 20 Jan 2005 17:36:38 -0000 1.8
+@@ -501,6 +501,12 @@ GBool XRef::checkEncrypted(GString *owne
+ } else {
+ keyLength = 5;
+ }
++ if (keyLength < 1) {
++ keyLength = 1;
++ }
++ if (keyLength > 16) {
++ keyLength = 16;
++ }
+ permFlags = permissions.getInt();
+ if (encVersion >= 1 && encVersion <= 2 &&
+ encRevision >= 2 && encRevision <= 3) {