[
https://issues.apache.org/jira/browse/THRIFT-4316?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16154776#comment-16154776
]
ASF GitHub Bot commented on THRIFT-4316:
----------------------------------------
Github user jeking3 commented on the issue:
https://github.com/apache/thrift/pull/1290
Normally I would ask for a new Jira ticket to be filed by the submitter,
but this is pretty obvious and pretty serious, so I did it:
THRIFT-4316
> 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)