cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Brosius (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CASSANDRA-3034) [patch] BufferedInputStream.skip only skips bytes that are in the buffer, so keep skipping until done
Date Sun, 14 Aug 2011 15:45:28 GMT
[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

        

Mime
View raw message