[jira] [Updated] (TIKA-2463) Parsing large tiff produces StackOverflowError

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Updated] (TIKA-2463) Parsing large tiff produces StackOverflowError

JIRA jira@apache.org

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

Mike Cantrell updated TIKA-2463:
--------------------------------
    Attachment: test.zip

test.zip containing the example test.tiff file

> Parsing large tiff produces StackOverflowError
> ----------------------------------------------
>
>                 Key: TIKA-2463
>                 URL: https://issues.apache.org/jira/browse/TIKA-2463
>             Project: Tika
>          Issue Type: Bug
>            Reporter: Mike Cantrell
>         Attachments: test.zip
>
>
> java -jar tika-app-1.16.jar test.tiff
> (attaching tiff to issue)
> {code}
> Exception in thread "main" java.lang.StackOverflowError
> at java.lang.StringCoding$StringDecoder.decode(StringCoding.java:153)
> at java.lang.StringCoding.decode(StringCoding.java:193)
> at java.lang.StringCoding.decode(StringCoding.java:254)
> at java.lang.String.<init>(String.java:546)
> at com.drew.lang.RandomAccessReader.getNullTerminatedString(RandomAccessReader.java:405)
> at com.drew.imaging.tiff.TiffReader.processTag(TiffReader.java:267)
> at com.drew.imaging.tiff.TiffReader.processIfd(TiffReader.java:224)
> at com.drew.imaging.tiff.TiffReader.processIfd(TiffReader.java:244)
> at com.drew.imaging.tiff.TiffReader.processIfd(TiffReader.java:244)
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)