[
https://issues.apache.org/jira/browse/PDFBOX-4488?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tilman Hausherr resolved PDFBOX-4488.
-------------------------------------
Resolution: Fixed
> NegativeArraySizeException with image with extreme width
> --------------------------------------------------------
>
> Key: PDFBOX-4488
> URL: https://issues.apache.org/jira/browse/PDFBOX-4488
> Project: PDFBox
> Issue Type: Bug
> Components: Rendering
> Affects Versions: 2.0.14
> Reporter: Tilman Hausherr
> Assignee: Tilman Hausherr
> Priority: Major
> Fix For: 2.0.15, 3.0.0 PDFBox
>
> Attachments: POPPLER-737.pdf
>
>
> {noformat}
> java.lang.NegativeArraySizeException: null
>
> org.apache.pdfbox.pdmodel.graphics.image.SampledImageReader.from1Bit(SampledImageReader.java:264)
>
> org.apache.pdfbox.pdmodel.graphics.image.SampledImageReader.getRGBImage(SampledImageReader.java:200)
>
> org.apache.pdfbox.pdmodel.graphics.image.PDImageXObject.getImage(PDImageXObject.java:419)
>
> org.apache.pdfbox.pdmodel.graphics.image.PDImageXObject.getImage(PDImageXObject.java:401)
>
> org.apache.pdfbox.rendering.PageDrawer.drawImage(PageDrawer.java:1042){noformat}
> The image has a width 458477041. We should wrap this into an IOException
> instead.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]