Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-3446

Infinite loop while parsing

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.8.12, 1.8.13, 2.0.2, 2.0.3, 3.0.0 PDFBox
    • 1.8.13, 2.0.3, 3.0.0 PDFBox
    • Parsing
    • None

    Description

      Attached file is corrupt, but should fail gracefully. Instead it goes into a loop:

      Aug 01, 2016 9:35:14 PM org.apache.pdfbox.pdfparser.COSParser parseXrefTable
      WARNUNG: invalid xref line: 0000497701 00000 ¶ñw%?CÞ?ò.þ=^VP?»?y2+?6Aºo;-Ó?^?úrhf-d?lÍ£YYD
      Aug 01, 2016 9:35:14 PM org.apache.pdfbox.pdfparser.COSParser parseXref
      WARNUNG: Expected trailer object at position 507957, keep trying
      Aug 01, 2016 9:35:14 PM org.apache.pdfbox.pdfparser.COSParser parseXrefTable
      WARNUNG: invalid xref line: 0000497701 00000 ¶ñw%?CÞ?ò.þ=^VP?»?y2+?6Aºo;-Ó?^?úrhf-d?lÍ£YYD
      Aug 01, 2016 9:35:14 PM org.apache.pdfbox.pdfparser.COSParser parseXref
      WARNUNG: Expected trailer object at position 507957, keep trying
      Aug 01, 2016 9:35:14 PM org.apache.pdfbox.pdfparser.COSParser parseXrefTable
      WARNUNG: invalid xref line: 0000497701 00000 ¶ñw%?CÞ?ò.þ=^VP?»?y2+?6Aºo;-Ó?^?úrhf-d?lÍ£YYD
      Aug 01, 2016 9:35:14 PM org.apache.pdfbox.pdfparser.COSParser parseXref
      WARNUNG: Expected trailer object at position 507957, keep trying
      Aug 01, 2016 9:35:14 PM org.apache.pdfbox.pdfparser.COSParser parseXrefTable
      

      Attachments

        1. PDFBOX-3446.pdf
          501 kB
          Tilman Hausherr

        Issue Links

          Activity

            People

              tilman Tilman Hausherr
              tilman Tilman Hausherr
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: