Brett Okken created COMPRESS-332:
------------------------------------
Summary: FramedSnappyCompressorInputStream.read returns invalid
value at end of stream.
Key: COMPRESS-332
URL: https://issues.apache.org/jira/browse/COMPRESS-332
Project: Commons Compress
Issue Type: Bug
Components: Compressors
Affects Versions: 1.10
Reporter: Brett Okken
FramedSnappyCompressorInputStream.read() returns 0 when the end of stream has
been reached rather than -1.
It appears that this may be caused by SnappyCompressorInputStream.read(byte[],
int, int) returning 0 instead of -1 at the end of stream when the exact number
of bytes have been read.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)