Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
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.