Compact Protocol should call readAll, not read
----------------------------------------------
Key: THRIFT-620
URL: https://issues.apache.org/jira/browse/THRIFT-620
Project: Thrift
Issue Type: Bug
Reporter: Bryan Duxbury
Assignee: Bryan Duxbury
Fix For: 0.2
Attachments: thrift-620.patch
TCompactProtocol's current implementation is calling trans_.read instead of
trans_.readAll. As a result, if you are using a buffer, or something like a
GZipInputStream, you can get an underrun on your read unexpectedly,
desynchronizing the stream.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.