[
https://issues.apache.org/jira/browse/PDFBOX-5552?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17647525#comment-17647525
]
ASF subversion and git services commented on PDFBOX-5552:
---------------------------------------------------------
Commit 1905988 from Tilman Hausherr in branch 'pdfbox/branches/2.0'
[ https://svn.apache.org/r1905988 ]
PDFBOX-5552: avoid ArrayIndexOutOfBoundsException
> ArrayIndexOutOfBounds in SampledImageReader.fromAny()
> -----------------------------------------------------
>
> Key: PDFBOX-5552
> URL: https://issues.apache.org/jira/browse/PDFBOX-5552
> Project: PDFBox
> Issue Type: Bug
> Components: Rendering
> Affects Versions: 2.0.27
> Reporter: Tilman Hausherr
> Assignee: Tilman Hausherr
> Priority: Major
> Fix For: 2.0.28, 3.0.0 PDFBox
>
> Attachments: PDFBOX-5552.pdf
>
>
> Reported by Stefan S on the mailing list
> {noformat}
> 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)
> {noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]