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

ZipArchiveInputStream fails to update count of bytes read

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0
    • Fix Version/s: 1.1
    • Component/s: None
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: