You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Stefan Bodewig (JIRA)" <ji...@apache.org> on 2017/01/10 06:23:58 UTC

[jira] [Created] (COMPRESS-378) SnappyCompressorInputStream slides the window too early

Stefan Bodewig created COMPRESS-378:
---------------------------------------

             Summary: SnappyCompressorInputStream slides the window too early
                 Key: COMPRESS-378
                 URL: https://issues.apache.org/jira/browse/COMPRESS-378
             Project: Commons Compress
          Issue Type: Bug
    Affects Versions: 1.13
            Reporter: Stefan Bodewig
             Fix For: 1.14


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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)