Asthenia0412 opened a new pull request, #23798:
URL: https://github.com/apache/kafka/pull/23798

   Fixes Apache JIRA KAFKA-20657.
   
   The BYTES branch in convertToJson called ByteBuffer.array() which is
   unsafe for direct buffers and for sliced buffers (ignores position/limit).
   Replace with Utils.toArray(ByteBuffer).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to