[
https://issues.apache.org/jira/browse/PDFBOX-4777?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andreas Lehmkühler resolved PDFBOX-4777.
----------------------------------------
Resolution: Fixed
The attached pdfs are using huge values for the "First" entry of a compressed
object stream which lead to the OOM exception. The trunk isn't affected due to
a refactoring of the code in question. I've backported the code from the trunk
to fix the issue.
The bug was triggered only for malformed pdfs as the problematic code was part
of the brute force parser.
[~tallison] Thanks for the pointer
> Avoid OOM for malformed PDFs using a huge First valkue within object streams
> ----------------------------------------------------------------------------
>
> Key: PDFBOX-4777
> URL: https://issues.apache.org/jira/browse/PDFBOX-4777
> Project: PDFBox
> Issue Type: Bug
> Components: Parsing
> Affects Versions: 2.0.18
> Reporter: Andreas Lehmkühler
> Assignee: Andreas Lehmkühler
> Priority: Major
> Fix For: 2.0.19
>
> Attachments: hang-070214-214127-114.pdf, hang-090214-050329-164.pdf
>
>
> [~tallison] found a bunch of problematic
> [pdfs|https://bugs.ghostscript.com/show_bug.cgi?id=695040] and two of those
> are producing an OOM exception.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]