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

Christian Grobmeier updated SANDBOX-274:
----------------------------------------

    Attachment: patch-ar-offset.txt

This patch should fix the offset trouble :-)

> ArArchiveInputStream doesn't make use of internal offset
> --------------------------------------------------------
>
>                 Key: SANDBOX-274
>                 URL: https://issues.apache.org/jira/browse/SANDBOX-274
>             Project: Commons Sandbox
>          Issue Type: Bug
>          Components: Compress
>            Reporter: Christian Grobmeier
>         Attachments: patch-ar-offset.txt
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> When entering the ArchiveInputStream, the header will be investigated. If 
> offset = 0, then for <arch> will be searched with a read method from 
> InputStream. The offset var will not be updated of course and stays 0. Next 
> time an invalid header exception is thrown.
> Solution: all read operations must update the offset field in 
> ArchiveInputStream

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to