From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 8F5CA207E57E0 for ; Tue, 11 Apr 2017 18:55:54 -0700 (PDT) Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 11 Apr 2017 18:55:54 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.37,188,1488873600"; d="scan'208";a="87655512" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by fmsmga005.fm.intel.com with ESMTP; 11 Apr 2017 18:55:40 -0700 Received: from fmsmsx151.amr.corp.intel.com (10.18.125.4) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 11 Apr 2017 18:55:40 -0700 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by FMSMSX151.amr.corp.intel.com (10.18.125.4) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 11 Apr 2017 18:55:34 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.193]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.217]) with mapi id 14.03.0319.002; Wed, 12 Apr 2017 09:55:32 +0800 From: "Tian, Feng" To: "Wu, Hao A" , "edk2-devel@lists.01.org" , "guoheyi@huawei.com" CC: "Tian, Feng" Thread-Topic: [PATCH v3 0/5] Fix undefined behavior in signed left shift Thread-Index: AQHSsy95IYTwMEDDWE6uXQr0eFkbKaHA+LOQgAAAiNA= Date: Wed, 12 Apr 2017 01:55:31 +0000 Message-ID: <7F1BAD85ADEA444D97065A60D2E97EE5699E4395@SHSMSX101.ccr.corp.intel.com> References: <20170412015228.20328-1-hao.a.wu@intel.com> <7F1BAD85ADEA444D97065A60D2E97EE5699E4378@SHSMSX101.ccr.corp.intel.com> In-Reply-To: <7F1BAD85ADEA444D97065A60D2E97EE5699E4378@SHSMSX101.ccr.corp.intel.com> Accept-Language: zh-CN, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 10.0.102.7 dlp-reaction: no-action x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [PATCH v3 0/5] Fix undefined behavior in signed left shift X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Apr 2017 01:55:54 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable PS: lt's a typo on pkg name: IntelFWMdlPkg/IdeBusDxe: Fix undefined behavio= r in signed left shift -----Original Message----- From: Tian, Feng=20 Sent: Wednesday, April 12, 2017 9:53 AM To: Wu, Hao A ; edk2-devel@lists.01.org; guoheyi@huawei= .com Cc: Tian, Feng Subject: RE: [PATCH v3 0/5] Fix undefined behavior in signed left shift Series reviewed-by: Feng Tian -----Original Message----- From: Wu, Hao A=20 Sent: Wednesday, April 12, 2017 9:52 AM To: edk2-devel@lists.01.org; guoheyi@huawei.com Cc: Wu, Hao A ; Tian, Feng Subject: [PATCH v3 0/5] Fix undefined behavior in signed left shift After searching the whole code base, more cases are found related with: 'LastLba3 << 24' Send a new patch series (V3 based on the patch for ScsiDisk) to fix the sus= picious undefined behavior in signed left shift. Cc: Feng Tian Hao Wu (5): MdeModulePkg/ScsiDiskDxe: Fix undefined behavior in signed left shift MdeModulePkg/IdeBusPei: Fix undefined behavior in signed left shift MdeModulePkg/UfsBlkIoPei: Fix undefined behavior in signed left shift MdeModulePkg/UsbBotPei: Fix undefined behavior in signed left shift IntelFWMdlPkg/IdeBusDxe: Fix undefined behavior in signed left shift IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/Atapi.c | 6 +++--- MdeModulePkg/Bus/Pci/IdeBusPei/AtapiPeim.c | 4 ++-- MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDisk.c | 4 ++-- MdeModulePkg/Bus/Ufs/UfsBlockIoPei/UfsBlockIoPei.c | 6 +++--- MdeModulePkg/Bus/Usb/UsbBotPei/PeiAtapi.c | 6 +++--- 5 files changed, 13 insertions(+), 13 deletions(-) -- 2.12.0.windows.1