You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Michael Marshall (Jira)" <ji...@apache.org> on 2022/12/21 05:58:00 UTC
[jira] [Created] (KAFKA-14540) DataOutputStreamWritable#writeByteBuffer writes the wrong portion of the parameterized buffer
Michael Marshall created KAFKA-14540:
----------------------------------------
Summary: DataOutputStreamWritable#writeByteBuffer writes the wrong portion of the parameterized buffer
Key: KAFKA-14540
URL: https://issues.apache.org/jira/browse/KAFKA-14540
Project: Kafka
Issue Type: Bug
Reporter: Michael Marshall
The method DataOutputStreamWritable#writeByteBuffer uses the buffer's position instead of its arrayOffset when writing the buffer to the output stream. As a result, the resulting buffer is corrupted.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)