From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=192.55.52.120; helo=mga04.intel.com; envelope-from=michael.d.kinney@intel.com; receiver=edk2-devel@lists.01.org Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) (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 CAA05223230D2 for ; Fri, 16 Feb 2018 10:05:44 -0800 (PST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 16 Feb 2018 10:11:38 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.46,520,1511856000"; d="scan'208";a="28621943" Received: from orsmsx104.amr.corp.intel.com ([10.22.225.131]) by orsmga003.jf.intel.com with ESMTP; 16 Feb 2018 10:11:38 -0800 Received: from orsmsx113.amr.corp.intel.com ([169.254.9.97]) by ORSMSX104.amr.corp.intel.com ([169.254.4.251]) with mapi id 14.03.0319.002; Fri, 16 Feb 2018 10:11:37 -0800 From: "Kinney, Michael D" To: Laszlo Ersek , edk2-devel-01 , "Kinney, Michael D" CC: Bret Barkelew , "Gao, Liming" , Sean Brogan Thread-Topic: [PATCH 0/4] MdePkg/BaseSafeIntLib: fix undefined behavior in INT64 Sub/Add/Mult Thread-Index: AQHTpowNv4AcDDvrQ0iemvVieptS8aOnVVhg Date: Fri, 16 Feb 2018 18:11:36 +0000 Message-ID: References: <20180215183638.18578-1-lersek@redhat.com> In-Reply-To: <20180215183638.18578-1-lersek@redhat.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.0.0.116 dlp-reaction: no-action x-originating-ip: [10.22.254.138] MIME-Version: 1.0 Subject: Re: [PATCH 0/4] MdePkg/BaseSafeIntLib: fix undefined behavior in INT64 Sub/Add/Mult X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Feb 2018 18:05:45 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi Laszlo, This patch series passed the SafeIntLib unit tests for the following builds: * VS2015x86 IA32 * VS2015x86 X64 * VS2015x86 EBC * GCC IA32 * GCC X64 Tested-by: Michael D Kinney Mike > -----Original Message----- > From: Laszlo Ersek [mailto:lersek@redhat.com] > Sent: Thursday, February 15, 2018 10:37 AM > To: edk2-devel-01 > Cc: Bret Barkelew ; Gao, > Liming ; Kinney, Michael D > ; Sean Brogan > > Subject: [PATCH 0/4] MdePkg/BaseSafeIntLib: fix > undefined behavior in INT64 Sub/Add/Mult >=20 > Repo: https://github.com/lersek/edk2.git > Branch: signed_range_checks >=20 > Based on the discussion starting at > February/021178.html>. >=20 > Cc: Bret Barkelew > Cc: Liming Gao > Cc: Michael D Kinney > Cc: Sean Brogan >=20 > Laszlo Ersek (4): > MdePkg/BaseSafeIntLib: fix undefined behavior in > SafeInt64Sub() > MdePkg/BaseSafeIntLib: fix undefined behavior in > SafeInt64Add() > MdePkg/BaseSafeIntLib: clean up parentheses in > MIN_INT64_MAGNITUDE > MdePkg/BaseSafeIntLib: fix undefined behavior in > SafeInt64Mult() >=20 > MdePkg/Library/BaseSafeIntLib/SafeIntLib.c | 110 > ++++++++++++++++---- > 1 file changed, 88 insertions(+), 22 deletions(-) >=20 > -- > 2.14.1.3.gb7cf6e02401b