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

Optimize memory footprint of PDFObjectStreamParser

    XMLWordPrintableJSON

Details

    Description

      PDFObjectStreamParser uses the number of objects /N from the dictionary to initialize the map for object numbers/offsets (3.0.0) or list of objects (2.0-branch), but sometimes the value is too big or the stream can't be read, This may lead to a memory issue if resources are limited.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: