From issues-return-184702-archive-asf-public=cust-asf.ponee.io@spark.apache.org Mon Feb 12 04:25:10 2018 Return-Path: X-Original-To: archive-asf-public@eu.ponee.io Delivered-To: archive-asf-public@eu.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by mx-eu-01.ponee.io (Postfix) with ESMTP id 28C3918064E for ; Mon, 12 Feb 2018 04:25:10 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 1867F160C60; Mon, 12 Feb 2018 03:25:10 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 60AAB160C4E for ; Mon, 12 Feb 2018 04:25:09 +0100 (CET) Received: (qmail 82733 invoked by uid 500); 12 Feb 2018 03:25:08 -0000 Mailing-List: contact issues-help@spark.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@spark.apache.org Received: (qmail 82724 invoked by uid 99); 12 Feb 2018 03:25:08 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Feb 2018 03:25:08 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 1493DC121F for ; Mon, 12 Feb 2018 03:25:08 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -110.311 X-Spam-Level: X-Spam-Status: No, score=-110.311 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id jJfq8hPm0hIk for ; Mon, 12 Feb 2018 03:25:07 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id D228C5FACF for ; Mon, 12 Feb 2018 03:25:06 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 17754E0153 for ; Mon, 12 Feb 2018 03:25:06 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id C104624116 for ; Mon, 12 Feb 2018 03:25:02 +0000 (UTC) Date: Mon, 12 Feb 2018 03:25:02 +0000 (UTC) From: "liuxian (JIRA)" To: issues@spark.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (SPARK-23391) It may lead to overflow for some integer multiplication MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 liuxian created SPARK-23391: ------------------------------- Summary: It may lead to overflow for some integer multiplicati= on=20 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 i= s greater than 2^28, {{blockId.reduceId*8}} will overflow. In the _decompress0, len_ and=C2=A0 _unitSize are=C2=A0 {{Int}} type,_so _l= en * unitSize_ may lead to=C2=A0 overflow =C2=A0 =C2=A0 -- 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