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

Trailer Dictionary object labeled "Size" is overwritten when there are 2 xref table objects

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 0.8.0-incubator
    • Parsing
    • None

    Description

      While parsing a linearized PDF file, all of which have 2 distinct xref tables in different locations in the file, I noticed that the Size entry in the dictionary was being overwritten to the wrong value. The value that should be used for these files is the number in the first trailer section which represents the size of all the entries.

      Attachments

        1. COSDictionary.diff
          1 kB
          Justin LeFebvre

        Activity

          People

            Unassigned Unassigned
            justinl Justin LeFebvre
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: