tika-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eugene Hart (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TIKA-2545) RereadableInputStream backing byte array not constructed properly
Date Wed, 10 Jan 2018 15:22:00 GMT

    [ https://issues.apache.org/jira/browse/TIKA-2545?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16320425#comment-16320425
] 

Eugene Hart commented on TIKA-2545:
-----------------------------------

No problem I'll try to get that done tonight. Just looking at the existing unit test, I can
see the test is flawed. Not sure about resetting the size to zero I'll have to look into that
more.

> RereadableInputStream backing byte array not constructed properly
> -----------------------------------------------------------------
>
>                 Key: TIKA-2545
>                 URL: https://issues.apache.org/jira/browse/TIKA-2545
>             Project: Tika
>          Issue Type: Bug
>          Components: core
>            Reporter: Eugene Hart
>            Priority: Minor
>
> For original inputstreams smaller than buffersize, should create bytearrayinputstream
with bounds determined by size of original input, not pass in entire buffer.



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

Mime
View raw message