[ 
https://issues.apache.org/jira/browse/CASSANDRA-3034?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jonathan Ellis resolved CASSANDRA-3034.
---------------------------------------

    Resolution: Fixed

committed, thanks!

> [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: 1.0
>            Reporter: Dave Brosius
>            Assignee: Dave Brosius
>            Priority: Trivial
>             Fix For: 1.0
>
>         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

        

Reply via email to