[patch] BufferedInputStream.skip only skips bytes that are in the buffer, so
keep skipping until done
-----------------------------------------------------------------------------------------------------
Key: CASSANDRA-3034
URL: https://issues.apache.org/jira/browse/CASSANDRA-3034
Project: Cassandra
Issue Type: Bug
Affects Versions: 0.8.4
Reporter: Dave Brosius
Priority: Trivial
Fix For: 0.8.5
Attachments: skip_fully.diff
code calls skip(remaining) without checking result. Skip isn't guaranteed to
skip what you requested, especially BufferedInputStream, so keep skipping until
the remaining bytes is 0.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira