Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.11, 1.8.12, 2.0.0, 2.0.1, 3.0.0 PDFBox
    • Fix Version/s: 1.8.12, 2.0.1, 3.0.0 PDFBox
    • Component/s: Rendering
    • Labels:
      None

      Description

      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); }

      }

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                tilman Tilman Hausherr
                Reporter:
                ChengChen Cheng Chen
              • Votes:
                1 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: