Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-5552

ArrayIndexOutOfBounds in SampledImageReader.fromAny()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.27
    • 2.0.28, 3.0.0 PDFBox
    • Rendering
    • None

    Description

      Reported by Stefan S on the mailing list

      java.lang.ArrayIndexOutOfBoundsException: Index 2 out of bounds for length 2
          org.apache.pdfbox.pdmodel.graphics.image.SampledImageReader.fromAny(SampledImageReader.java:627)
          org.apache.pdfbox.pdmodel.graphics.image.SampledImageReader.getRGBImage(SampledImageReader.java:219)
          org.apache.pdfbox.pdmodel.graphics.image.PDImageXObject.getImage(PDImageXObject.java:464)
          org.apache.pdfbox.pdmodel.graphics.image.PDImageXObject.getImage(PDImageXObject.java:439)
          org.apache.pdfbox.rendering.PageDrawer.drawImage(PageDrawer.java:1109)
      

      Attachments

        1. PDFBOX-5552.pdf
          72 kB
          Tilman Hausherr

        Activity

          People

            tilman Tilman Hausherr
            tilman Tilman Hausherr
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: