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

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.7, 2.0.0
    • Fix Version/s: 1.8.8, 2.0.0
    • Component/s: Parsing
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: