You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "James E. King, III (JIRA)" <ji...@apache.org> on 2017/09/06 03:49:02 UTC

[jira] [Created] (THRIFT-4316) TByteBuffer.java will read too much data if a previous read returns fewer bytes than requested

James E. King, III created THRIFT-4316:
------------------------------------------

             Summary: TByteBuffer.java will read too much data if a previous read returns fewer bytes than requested
                 Key: THRIFT-4316
                 URL: https://issues.apache.org/jira/browse/THRIFT-4316
             Project: Thrift
          Issue Type: Bug
          Components: Java - Library
    Affects Versions: 0.10.0
            Reporter: James E. King, III
            Assignee: James E. King, III
            Priority: Critical
             Fix For: 0.11.0


The TByteBuffer read() method is using the wrong length variable inside the processing loop and may read more than it should.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)