Shixiong Zhu
authored
`ByteBuffer` doesn't guarantee all contents in `ByteBuffer.array` are valid. E.g, a ByteBuffer returned by `ByteBuffer.slice`. We should not use the whole content of `ByteBuffer` unless we know that's correct. This patch fixed all places that use `ByteBuffer.array` incorrectly. Author: Shixiong Zhu <shixiong@databricks.com> Closes #10083 from zsxwing/bytebuffer-array.
Name | Last commit | Last update |
---|---|---|
.. | ||
flume-assembly | ||
flume-sink | ||
flume | ||
kafka-assembly | ||
kafka | ||
mqtt-assembly | ||
mqtt | ||
zeromq |