[ 
https://issues.apache.org/jira/browse/SPARK-12084?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Marcelo Vanzin resolved SPARK-12084.
------------------------------------
       Resolution: Fixed
    Fix Version/s: 2.0.0

> Fix codes that uses ByteBuffer.array incorrectly
> ------------------------------------------------
>
>                 Key: SPARK-12084
>                 URL: https://issues.apache.org/jira/browse/SPARK-12084
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Core
>            Reporter: Shixiong Zhu
>            Assignee: Shixiong Zhu
>             Fix For: 2.0.0
>
>
> 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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to