From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by mx.groups.io with SMTP id smtpd.web10.1527.1584987378236972553 for ; Mon, 23 Mar 2020 11:16:18 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 192.55.52.136, mailfrom: michael.d.kinney@intel.com) IronPort-SDR: 1dn4bb3gPmMGoDD7eIykEWxl207bLysaP0Sy93qEMYFGWVmgVmAp48IPWNCs2+0KE3qMD3fP5v PRv0nL1jK8Aw== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Mar 2020 11:16:17 -0700 IronPort-SDR: tgGhbXr1rR7ZkL98QOETJdm4e+3Eqpm9AFpRHNwCtCUf+dtjUB03wPwNDTuPpmctslIJ+wDAcb S0kn2WSATN9Q== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,297,1580803200"; d="scan'208";a="445902735" Received: from orsmsx105.amr.corp.intel.com ([10.22.225.132]) by fmsmga005.fm.intel.com with ESMTP; 23 Mar 2020 11:16:17 -0700 Received: from orsmsx113.amr.corp.intel.com ([169.254.9.188]) by ORSMSX105.amr.corp.intel.com ([169.254.2.72]) with mapi id 14.03.0439.000; Mon, 23 Mar 2020 11:16:15 -0700 From: "Michael D Kinney" To: "Gao, Liming" , "Jiang, Guomin" , "devel@edk2.groups.io" , "newexplorerj@gmail.com" , "Kinney, Michael D" Subject: Re: [edk2-devel] [PATCH v3] MdePkg/UnitTestBaseLib: Add check for pointer BinData Thread-Topic: [edk2-devel] [PATCH v3] MdePkg/UnitTestBaseLib: Add check for pointer BinData Thread-Index: AQHV8rMziwVE3RamJUOsZ9htVw5jF6hWQ9yAgAB7e4D//9jxYA== Date: Mon, 23 Mar 2020 18:16:15 +0000 Message-ID: References: <06db8303487e47dc9d1cd165447bf8f8@intel.com> In-Reply-To: <06db8303487e47dc9d1cd165447bf8f8@intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action x-originating-ip: [10.22.254.140] MIME-Version: 1.0 Content-Language: en-US Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 R3VvbWluLA0KDQpJbiB0aGUgZnVuY3Rpb24gUmZjRW5jb2RlVGVzdCgpIGFib3ZlLCB0aGUgZm9s bG93aW5nIGNvZGUgDQppcyB1c2VkIHRvIG1ha2Ugc3VyZSBhbiBhbGxvY2F0ZWQgYnVmZmVyIGlz IG5vdCBOVUxMLg0KDQogIGI2NFdvcmtTdHJpbmcgPSAoQ0hBUjggKikgQWxsb2NhdGVQb29sKGI2 NFN0cmluZ1NpemUpOw0KICBVVF9BU1NFUlRfTk9UX05VTEwoYjY0V29ya1N0cmluZyk7DQoNCldl IHNob3VsZCB1c2UgdGhlIHNhbWUgc3R5bGUgaW4gYm90aCBmdW5jdGlvbnMuDQoNClRoYW5rcywN Cg0KTWlrZQ0KDQo+IC0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQo+IEZyb206IEdhbywgTGlt aW5nIDxsaW1pbmcuZ2FvQGludGVsLmNvbT4NCj4gU2VudDogTW9uZGF5LCBNYXJjaCAyMywgMjAy MCA2OjM0IEFNDQo+IFRvOiBKaWFuZywgR3VvbWluIDxndW9taW4uamlhbmdAaW50ZWwuY29tPjsN Cj4gZGV2ZWxAZWRrMi5ncm91cHMuaW87IG5ld2V4cGxvcmVyakBnbWFpbC5jb20NCj4gQ2M6IEtp bm5leSwgTWljaGFlbCBEIDxtaWNoYWVsLmQua2lubmV5QGludGVsLmNvbT4NCj4gU3ViamVjdDog UkU6IFtlZGsyLWRldmVsXSBbUEFUQ0ggdjNdDQo+IE1kZVBrZy9Vbml0VGVzdEJhc2VMaWI6IEFk ZCBjaGVjayBmb3IgcG9pbnR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