You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "liuxian (JIRA)" <ji...@apache.org> on 2018/02/12 03:25:02 UTC

[jira] [Created] (SPARK-23391) It may lead to overflow for some integer multiplication

liuxian created SPARK-23391:
-------------------------------

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


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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org