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

Reynold Xin resolved SPARK-4107.
--------------------------------
       Resolution: Fixed
    Fix Version/s: 1.2.0
                   1.1.1

> Incorrect handling of Channel.read()'s return value may lead to data 
> truncation
> -------------------------------------------------------------------------------
>
>                 Key: SPARK-4107
>                 URL: https://issues.apache.org/jira/browse/SPARK-4107
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Core
>    Affects Versions: 1.1.0, 1.1.1, 1.2.0
>            Reporter: Josh Rosen
>            Assignee: Josh Rosen
>            Priority: Blocker
>             Fix For: 1.1.1, 1.2.0
>
>
> When using {{Channel.read()}}, we need to properly handle the return value 
> and account for the case where we've read fewer bytes than expected.  There 
> are a few places where we don't do this properly, which may lead to incorrect 
> data truncation in rare circumstances.  I've opened a PR to fix this.



--
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