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

It may lead to overflow for some integer multiplication

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.3.0
    • 2.2.2, 2.3.0
    • Spark Core
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment