pdfbox-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tilman Hausherr (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (PDFBOX-4488) NegativeArraySizeException with image with extreme width
Date Sat, 16 Mar 2019 12:44:00 GMT

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

Tilman Hausherr updated PDFBOX-4488:
------------------------------------
    Attachment: POPPLER-737.pdf

> 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: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org


Mime
View raw message