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 2022/03/27 18:05:00 UTC

[jira] [Comment Edited] (PDFBOX-5399) Object must be defined and must not be compressed object

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

Andreas Lehmkühler edited comment on PDFBOX-5399 at 3/27/22, 6:04 PM:
----------------------------------------------------------------------

The real issue wasn't PDFBOX-5238 but the fact that the found object numbers are wrong. The offset of 1655 doesn't point to the object 55. Due to an off by two offset the object number of the correct object is parsed partially. I've improved the {{findObjectKey}} method so that such offsets to the offset are detected and the brute force search is triggered. In the end the problematic code of PDFBOX-5238 isn't relevant here anymore. ;-)


was (Author: lehmi):
The real issue wasn't PDFBOX-5238 but the fact that the found object numbers are wrong. The offset of 1655 doesn't point to the object 55. Due to an off by two offset the object number of the correct object is parsed partially. I've improved the {{findObjectKey}} method so that such offsets to the offset are detected and the brute force search is triggered.

> Object must be defined and must not be compressed object
> --------------------------------------------------------
>
>                 Key: PDFBOX-5399
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-5399
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Parsing
>    Affects Versions: 2.0.26
>            Reporter: Tilman Hausherr
>            Assignee: Andreas Lehmkühler
>            Priority: Major
>              Labels: regression
>         Attachments: LERFACO3LA3ANPZUYYODLAIFZHU3ZGCT.pdf
>
>
> Worked in 2.0.25



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

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