You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Dennis Lundberg (JIRA)" <ji...@apache.org> on 2009/03/23 23:19:51 UTC

[jira] Moved: (COMPRESS-1) ArArchiveInputStream doesn't make use of internal offset

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

Dennis Lundberg moved SANDBOX-274 to COMPRESS-1:
------------------------------------------------

    Component/s:     (was: Compress)
            Key: COMPRESS-1  (was: SANDBOX-274)
        Project: Commons Compress  (was: Commons Sandbox)

> ArArchiveInputStream doesn't make use of internal offset
> --------------------------------------------------------
>
>                 Key: COMPRESS-1
>                 URL: https://issues.apache.org/jira/browse/COMPRESS-1
>             Project: Commons Compress
>          Issue Type: Bug
>            Reporter: Christian Grobmeier
>            Assignee: Torsten Curdt
>         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.