From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) (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 36F37207E57E8 for ; Tue, 11 Apr 2017 18:53:27 -0700 (PDT) Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga105.fm.intel.com with ESMTP; 11 Apr 2017 18:53:26 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.37,187,1488873600"; d="scan'208";a="87654912" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by fmsmga005.fm.intel.com with ESMTP; 11 Apr 2017 18:53:26 -0700 Received: from FMSMSX109.amr.corp.intel.com (10.18.116.9) 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:53:26 -0700 Received: from shsmsx103.ccr.corp.intel.com (10.239.4.69) by fmsmsx109.amr.corp.intel.com (10.18.116.9) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 11 Apr 2017 18:53:26 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.193]) by SHSMSX103.ccr.corp.intel.com ([169.254.4.117]) with mapi id 14.03.0319.002; Wed, 12 Apr 2017 09:53:24 +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+LOQ Date: Wed, 12 Apr 2017 01:53:24 +0000 Message-ID: <7F1BAD85ADEA444D97065A60D2E97EE5699E4378@SHSMSX101.ccr.corp.intel.com> References: <20170412015228.20328-1-hao.a.wu@intel.com> In-Reply-To: <20170412015228.20328-1-hao.a.wu@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:53:27 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable 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