You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Michael Marshall (Jira)" <ji...@apache.org> on 2023/02/24 21:59:00 UTC
[jira] [Resolved] (KAFKA-14540) DataOutputStreamWritable#writeByteBuffer writes the wrong portion of the parameterized buffer
[ https://issues.apache.org/jira/browse/KAFKA-14540?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Marshall resolved KAFKA-14540.
--------------------------------------
Resolution: Fixed
Fixed by https://github.com/apache/kafka/pull/13032
> 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
> Priority: Minor
>
> 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)