Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-23391

It may lead to overflow for some integer multiplication

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.3.0
    • Fix Version/s: 2.2.2, 2.3.0
    • Component/s: Spark Core
    • Labels:
      None

      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

       

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                10110346 liuxian
                Reporter:
                10110346 liuxian
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: