diff options
Diffstat (limited to 'textproc/pdftohtml/files')
-rw-r--r-- | textproc/pdftohtml/files/patch-src-XRef.cc | 12 |
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) { |