Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
None
-
None
Description
There is a bug in the thrift_native implementation of MemoryBuffer. When the read index is >= 4096, we're supposed to chop that 4096 bytes off the buffer to save memory. Instead, it incorrectly nils out the entire buffer, effectively truncating the remaining buffer.