Uploaded image for project: 'Commons Compress'
  1. Commons Compress
  2. COMPRESS-74

ZipArchiveInputStream fails to update count of bytes read

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.0
    • 1.1
    • None
    • None

    Description

      ZipArchiveInputStream fails to call count() in some cases where it reads (or puts back) data from the input stream.

      Not quite sure how to handle put-back yet, as a count of -1 is currently ignored, so how does one count a single byte that is put back?
      Easy enough to hack this in - count(1);count(-2); - but that's rather messy.

      Attachments

        Activity

          People

            Unassigned Unassigned
            sebb Sebb
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: