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

Tilman Hausherr resolved PDFBOX-3297.
-------------------------------------
       Resolution: Fixed
    Fix Version/s: 2.1.0
                   2.0.1
                   1.8.12

> Infinite loop
> -------------
>
>                 Key: PDFBOX-3297
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-3297
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Rendering
>    Affects Versions: 1.8.11, 1.8.12, 2.0.0, 2.0.1, 2.1.0
>            Reporter: Cheng Chen
>            Assignee: Tilman Hausherr
>             Fix For: 1.8.12, 2.0.1, 2.1.0
>
>         Attachments: infinite_loop.pdf
>
>
> For this PDF file attached, this function will hang:
> public void testNewVersion() throws IOException {
>         PDDocument doc = 
> PDDocument.load(PdfVerificationTest.class.getClassLoader().getResource("infinite_loop.pdf").openStream());
>        PDFRenderer pdfRenderer = new PDFRenderer(doc);
>        for(int i=1;i<doc.getNumberOfPages();i++) {
>             pdfRenderer.renderImageWithDPI(i, 300, ImageType.RGB);
>       }
>     }



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to