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.115; helo=mga14.intel.com; envelope-from=michael.d.kinney@intel.com; receiver=edk2-devel@lists.01.org Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) (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 C2FC3223230DF for ; Fri, 16 Feb 2018 19:01:19 -0800 (PST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 16 Feb 2018 19:07:13 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.46,522,1511856000"; d="scan'208";a="32143767" Received: from orsmsx110.amr.corp.intel.com ([10.22.240.8]) by orsmga001.jf.intel.com with ESMTP; 16 Feb 2018 19:07:13 -0800 Received: from orsmsx113.amr.corp.intel.com ([169.254.9.97]) by ORSMSX110.amr.corp.intel.com ([169.254.10.12]) with mapi id 14.03.0319.002; Fri, 16 Feb 2018 19:07:13 -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: AQHTpowNv4AcDDvrQ0iemvVieptS8aOnVVhggACy+QD//+KR8A== Date: Sat, 17 Feb 2018 03:07:12 +0000 Message-ID: References: <20180215183638.18578-1-lersek@redhat.com> In-Reply-To: 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.139] 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: Sat, 17 Feb 2018 03:01:20 -0000 Content-Language: en-US Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 TGFzemxvLA0KDQpUaGUgdGVzdHMgZm9yIHRoZSBTYWZlSW50TGliIGFyZSBpbiBhbiBlZGsyLXN0 YWdpbmcNCmJyYW5jaC4NCg0KaHR0cHM6Ly9naXRodWIuY29tL3RpYW5vY29yZS9lZGsyLXN0YWdp bmcvdHJlZS9lZGsyLXRlc3QNCg0KDQpJbiB0aGlzIGRpcmVjdG9yeQ0KDQpodHRwczovL2dpdGh1 Yi5jb20vdGlhbm9jb3JlL2VkazItc3RhZ2luZy90cmVlL2VkazItdGVzdC9NZGVQa2dVbml0VGVz dC9TYWZlSW50TGliDQoNClRoYW5rcyBmb3IgdGhlIHZlcnkgZGV0YWlsZWQgYW5hbHlzaXMvY29t bWVudHMgaW4gdGhlIHBhdGNoLg0KDQpMZXQncyB3YWl0IHRpbGwgVHVlc2RheSBuZXh0IHdlZWsg Zm9yIGFueSBhZGRpdGlvbmFsIGZlZWRiYWNrLg0KDQpNaWtlDQoNCj4gLS0tLS1PcmlnaW5hbCBN ZXNzYWdlLS0tLS0NCj4gRnJvbTogTGFzemxvIEVyc2VrIFttYWlsdG86bGVyc2VrQHJlZGhhdC5j b21dDQo+IFNlbnQ6IEZyaWRheSwgRmVicnVhcnkgMTYsIDIwMTggMTI6NTAgUE0NCj4gVG86IEtp bm5leSwgTWljaGFlbCBEIDxtaWNoYWVsLmQua2lubmV5QGludGVsLmNvbT47DQo+IGVkazItZGV2 ZWwtMDEgPGVkazItZGV2ZWxAbGlzdHMuMDEub3JnPg0KPiBDYzogQnJldCBCYXJrZWxldyA8QnJl dC5CYXJrZWxld0BtaWNyb3NvZnQuY29tPjsg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