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)

Reply via email to