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

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