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

Problem With Malformed xref

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.4
    • Fix Version/s: 2.0.5, 3.0.0 PDFBox
    • Component/s: Parsing
    • Labels:
      None
    • Environment:
      Windows 10 JVM 8

      Description

      Some files generated with unknown software. Generated malformed xref table, this instead of being well-formed with the correct EOL is in one line.

      Other readers correctly read the file, and sign it.

      PDFBox instead give Exception for malformed xref.

      I tried created a patch that allows you to read the above mentioned file. Because the original file is private I proceeded to recreate one the patch works with both.

        Attachments

        1. from_trunk.patch
          1 kB
          Marco Monacelli
        2. simple_malformed_doc_signed.pdf
          165 kB
          Marco Monacelli
        3. simple_malformed_doc.pdf
          145 kB
          Marco Monacelli

        Issue Links

          Activity

            People

            • Assignee:
              lehmi Andreas Lehmkühler
              Reporter:
              marcom1981@gmail.com Marco Monacelli

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment