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/03/10 19:44:40 UTC

[jira] [Resolved] (PDFBOX-3264) One 32kb truncated file causes OOM in 2.0.0-trunk

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

Andreas Lehmkühler resolved PDFBOX-3264.
----------------------------------------
    Resolution: Fixed

PDFBox didn't detect the premature EOF and ran into an endless loop which results in an OOM.
With my fix there is another exception which may be expected when reading truncated files.

> One 32kb truncated file causes OOM in 2.0.0-trunk
> -------------------------------------------------
>
>                 Key: PDFBOX-3264
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-3264
>             Project: PDFBox
>          Issue Type: Sub-task
>          Components: Parsing
>    Affects Versions: 2.0.0
>            Reporter: Tim Allison
>            Assignee: Andreas Lehmkühler
>            Priority: Minor
>             Fix For: 2.0.0
>
>         Attachments: MJUSFML5YKWYUSYNB72Z3KCUILNYUF4V.pdf
>
>
> I found one truncated file that is now causing an OOM in 2.0.0.  
> Can be reproduced with PDFBox app's ExtractText.



--
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