[ 
https://issues.apache.org/jira/browse/PDFBOX-5419?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17523352#comment-17523352
 ] 

Andreas Lehmkühler commented on PDFBOX-5419:
--------------------------------------------

This regression was introduced with PDFBOX-5399. This is another cornercase. 
The xref offsets don't reference the start of the object but one byte in front 
of it. The updated findObjectKey couldn't handle the found whitespace and 
triggered a brute force search which didn't end up in a correct pdf.



> Parsing shows 1 empty page with 2.0.26 and 7 with 2.0.25
> --------------------------------------------------------
>
>                 Key: PDFBOX-5419
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-5419
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Parsing
>    Affects Versions: 2.0.26
>            Reporter: Tilman Hausherr
>            Assignee: Andreas Lehmkühler
>            Priority: Major
>              Labels: regression
>         Attachments: PDFBOX-5419-4IMVKOWAZVGDFIUWAXFYBVHXKI5SHSK7.pdf
>
>




--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to