From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mx.groups.io with SMTP id smtpd.web11.280.1584984780986431622 for ; Mon, 23 Mar 2020 10:33:01 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 134.134.136.126, mailfrom: michael.d.kinney@intel.com) IronPort-SDR: xAqi7YLwufe1WYlNBqSMCBiglsUvoX9bnOZw6/ebaUGyZT8qw4n3aTXNaY6Drg9vESuEN8ouPP J0lkSR0HKtbQ== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Mar 2020 10:33:00 -0700 IronPort-SDR: RZxvIk+ysMqQapUtjk7CCjBJVObh/7TzNj5WcVLq7VQo8uTEjr/aQ5soPnGegbpTqvdLTLmwiY K7dfzPSfpXGg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,297,1580803200"; d="scan'208";a="325640116" Received: from orsmsx110.amr.corp.intel.com ([10.22.240.8]) by orsmga001.jf.intel.com with ESMTP; 23 Mar 2020 10:33:00 -0700 Received: from orsmsx113.amr.corp.intel.com ([169.254.9.188]) by ORSMSX110.amr.corp.intel.com ([169.254.10.144]) with mapi id 14.03.0439.000; Mon, 23 Mar 2020 10:32:59 -0700 From: "Michael D Kinney" To: "Jiang, Guomin" , "devel@edk2.groups.io" , "Zhang, Shenglei" , "newexplorerj@gmail.com" , "Kinney, Michael D" CC: "sean.brogan@microsoft.com" , "Bret.Barkelew@microsoft.com" Subject: Re: [edk2-devel] [PATCH] UnitTestFrameworkPkg: Invalid index may be used. Thread-Topic: [edk2-devel] [PATCH] UnitTestFrameworkPkg: Invalid index may be used. Thread-Index: AQHV549P41QMIrJsl06fhlODQcHQJ6g4rJuAgB2pFYCAAE0LwA== Date: Mon, 23 Mar 2020 17:32:59 +0000 Message-ID: References: <02ae08887ff10e981ee247a74ce2e89eb1a4d747.1582162590.git.newexplorerj@gmail.com> In-Reply-To: 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 UmV2aWV3ZWQtYnk6IE1pY2hhZWwgRCBLaW5uZXkgPG1pY2hhZWwuZC5raW5uZXlAaW50ZWwuY29t Pg0KDQpNaWtlDQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogSmlhbmcs IEd1b21pbiA8Z3VvbWluLmppYW5nQGludGVsLmNvbT4NCj4gU2VudDogU3VuZGF5LCBNYXJjaCAy MiwgMjAyMCAxMDo1NiBQTQ0KPiBUbzogZGV2ZWxAZWRrMi5ncm91cHMuaW87IFpoYW5nLCBTaGVu Z2xlaQ0KPiA8c2hlbmdsZWkuemhhbmdAaW50ZWwuY29tPjsgbmV3ZXhwbG9yZXJqQGdtYWlsLmNv bQ0KPiBDYzogS2lubmV5LCBNaWNoYWVsIEQgPG1pY2hhZWwuZC5raW5uZXlAaW50ZWwuY29tPjsN Cj4gc2Vhbi5icm9nYW5AbWljcm9zb2Z0LmNvbTsgQnJldC5CYXJrZWxld0BtaWNyb3NvZnQuY29t DQo+IFN1YmplY3Q6IFJFOiBbZWRrMi1kZXZlbF0gW1BBVENIXSBVbml0VGVzdEZyYW1ld29ya1Br ZzoNCj4gSW52YWxpZCBpbmRleCBtYXkgYmUgdXNlZC4NCj4gDQo+IEhpIE1pY2hhZWwsIFNlYW4s IEJyZXQsDQo+IA0KPiBDb3VsZCBoZWxwIHJldmlldyB0aGUgcGF0Y2g/DQo+IA0KPiBUaGFua3MN Cj4gPiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiA+IEZyb206IGRldmVsQGVkaz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