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

Don't throw IOException if stream length is missing in lenient mode

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.8.7, 2.0.0
    • 1.8.8, 2.0.0
    • Parsing
    • None

    Description

      The non-sequential parser throws an IOException if the lenght of a stream is missing. This should be avoided in lenient mode, escpacially as the parser checks the length afterwards add uses the fallback readUntilEnd if the length is invalid.

      Attachments

        1. out.pdf
          1.51 MB
          Simon Steiner
        2. nonseq.patch
          1 kB
          Simon Steiner

        Activity

          People

            lehmi Andreas Lehmkühler
            lehmi Andreas Lehmkühler
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: