pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From le...@apache.org
Subject svn commit: r1661473 - /pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdfparser/PDFParser.java
Date Sun, 22 Feb 2015 13:02:46 GMT
Author: lehmi
Date: Sun Feb 22 13:02:46 2015
New Revision: 1661473

URL: http://svn.apache.org/r1661473
Log:
PDFBOX-2527: avoid Negative seek offset exception

Modified:
    pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdfparser/PDFParser.java

Modified: pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdfparser/PDFParser.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdfparser/PDFParser.java?rev=1661473&r1=1661472&r2=1661473&view=diff
==============================================================================
--- pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdfparser/PDFParser.java (original)
+++ pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdfparser/PDFParser.java Sun Feb 22
13:02:46 2015
@@ -315,7 +315,7 @@ public class PDFParser extends COSParser
         }
         else if (isLenient())
         {
-            trailer = searchXref(startXRefOffset);
+            trailer = searchXref(0);
         }
         // prepare decryption if necessary
         prepareDecryption();



Mime
View raw message