aboutsummaryrefslogtreecommitdiff
path: root/textproc/pdftohtml/files
diff options
context:
space:
mode:
authorErwin Lansing <erwin@FreeBSD.org>2005-01-28 13:51:10 +0000
committerErwin Lansing <erwin@FreeBSD.org>2005-01-28 13:51:10 +0000
commit7f8145481d3bde072d47903decc0e98ede2fdc6c (patch)
tree0684ff481988f014e73b17953599ce5b0a0e7d37 /textproc/pdftohtml/files
parent845378d27e32075023dfe908cefacc744f22a05a (diff)
Notes
Diffstat (limited to 'textproc/pdftohtml/files')
-rw-r--r--textproc/pdftohtml/files/patch-src-XRef.cc12
1 files changed, 12 insertions, 0 deletions
diff --git a/textproc/pdftohtml/files/patch-src-XRef.cc b/textproc/pdftohtml/files/patch-src-XRef.cc
new file mode 100644
index 000000000000..c352ea43448a
--- /dev/null
+++ b/textproc/pdftohtml/files/patch-src-XRef.cc
@@ -0,0 +1,12 @@
+--- xpdf/XRef.cc.orig Wed Jun 25 00:41:27 2003
++++ xpdf/XRef.cc Fri Jan 28 14:25:54 2005
+@@ -486,6 +486,9 @@
+ } else {
+ keyLength = 5;
+ }
++ if (keyLength > 16) {
++ keyLength = 16;
++ }
+ permFlags = permissions.getInt();
+ if (encVersion >= 1 && encVersion <= 2 &&
+ encRevision >= 2 && encRevision <= 3) {