[ 
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-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org

Reply via email to