You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2015/12/02 01:27:11 UTC
[jira] [Commented] (SPARK-12084) Fix codes that uses
ByteBuffer.array incorrectly
[ https://issues.apache.org/jira/browse/SPARK-12084?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15034957#comment-15034957 ]
Apache Spark commented on SPARK-12084:
--------------------------------------
User 'zsxwing' has created a pull request for this issue:
https://github.com/apache/spark/pull/10083
> Fix codes that uses ByteBuffer.array incorrectly
> ------------------------------------------------
>
> Key: SPARK-12084
> URL: https://issues.apache.org/jira/browse/SPARK-12084
> Project: Spark
> Issue Type: Bug
> Reporter: Shixiong Zhu
> Assignee: Shixiong Zhu
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org