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

liuxian updated SPARK-23391:
----------------------------
    Description: 
In the {{getBlockData}},{{blockId.reduceId}} is the {{Int}} type, when it is 
greater than 2^28, {{blockId.reduceId*8}} will overflow.

In the _decompress0, len_ and  _unitSize are  {{Int}}_ type, so _len * 
unitSize_ may lead to  overflow

 

 

  was:
In the {{getBlockData}},{{blockId.reduceId}} is the {{Int}} type, when it is 
greater than 2^28, {{blockId.reduceId*8}} will overflow.

In the _decompress0, len_ and  _unitSize are  {{Int}}_ type_,_ so _len * 
unitSize_ may lead to  overflow

 

 


> It may lead to overflow for some integer multiplication 
> --------------------------------------------------------
>
>                 Key: SPARK-23391
>                 URL: https://issues.apache.org/jira/browse/SPARK-23391
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Core
>    Affects Versions: 2.3.0
>            Reporter: liuxian
>            Priority: Major
>
> In the {{getBlockData}},{{blockId.reduceId}} is the {{Int}} type, when it is 
> greater than 2^28, {{blockId.reduceId*8}} will overflow.
> In the _decompress0, len_ and  _unitSize are  {{Int}}_ type, so _len * 
> unitSize_ may lead to  overflow
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to