You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Andreas Lehmkühler (JIRA)" <ji...@apache.org> on 2016/11/27 20:10:58 UTC

[jira] [Assigned] (PDFBOX-3592) Missing stream in /XrefStm causes parse to break

     [ https://issues.apache.org/jira/browse/PDFBOX-3592?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andreas Lehmkühler reassigned PDFBOX-3592:
------------------------------------------

    Assignee: Andreas Lehmkühler

> Missing stream in /XrefStm causes parse to break
> ------------------------------------------------
>
>                 Key: PDFBOX-3592
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-3592
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Parsing
>    Affects Versions: 1.8.9, 2.0.0
>            Reporter: Pat Hickey
>            Assignee: Andreas Lehmkühler
>            Priority: Trivial
>         Attachments: PDFBOX-3592-orig.pdf
>
>
> When the pdf document contains a startref and xref table (a la PDF1.4) as well as an /XRefStm, but the offset given by /XRefStm does not describe a xref (stream or otherwise), PDFBox does its level best to find the xref info using a brute force search. In the case where the document only contains the xref table given by startxref, and does not contain an object of /Type /XRef, the brute force search results in the xref table.  
> See diffs for COSParser.java(2.0.0) and NonSequentialPDFParser.java (1.8.9), below.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org