[ 
https://issues.apache.org/jira/browse/COMPRESS-655?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17802326#comment-17802326
 ] 

Chad Preisler commented on COMPRESS-655:
----------------------------------------

[Here|https://github.com/apache/commons-compress/pull/457] is the pull request 
with the fix and tests. This is essentially the same fix that I did for lz4 
compression for 1.25.0 release.

> FramedSnappyCompressorOutputStream produces incorrect output when writing 
> large buffer 
> ---------------------------------------------------------------------------------------
>
>                 Key: COMPRESS-655
>                 URL: https://issues.apache.org/jira/browse/COMPRESS-655
>             Project: Commons Compress
>          Issue Type: Bug
>          Components: Compressors
>    Affects Versions: 1.25.0
>            Reporter: Chad Preisler
>            Priority: Major
>
> When calling write with data that is larger than the 
> MAX_COMPRESSED_BUFFER_SIZE, the output will not be able to be decompressed. 
> This is caused by flushBuffer being called at the wrong time.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to