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

SnappyCompressorInputStream slides the window too early

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.13
    • 1.14
    • None
    • None

    Description

      The sliding window is moved once "blocksize" data have been processed, which is too early if the back-reference offset is close to blocksize.

      Also, the bytes read when the expand-methods signal a flush is required have never been accounted for, leading to "Premature end of stream" errors.

      These have been fixed with git commits 9ae3752, d9421dc und e4658a.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            bodewig Stefan Bodewig
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment