From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by mx.groups.io with SMTP id smtpd.web11.3513.1589498557953946758 for ; Thu, 14 May 2020 16:22:38 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@intel.onmicrosoft.com header.s=selector2-intel-onmicrosoft-com header.b=kT0e/1k8; spf=pass (domain: intel.com, ip: 192.55.52.120, mailfrom: michael.d.kinney@intel.com) IronPort-SDR: bCa7/cgQv67t0oKAGgdPupW6+U8TRck2rx7oAZh4zXeuPsG6ESr0Qhw3ay/MO4fnkd1Nn2opu1 5aPTUbKuaZLw== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 May 2020 16:22:36 -0700 IronPort-SDR: UuUFgbAnwN/JrfULxiqopOwhAi8dawMqqCfoPSEFEVPt9aqWM+cux49l2uy8dQuhc3znEjiYKX bPcEZ3txIqxw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,392,1583222400"; d="scan'208";a="253628731" Received: from orsmsx108.amr.corp.intel.com ([10.22.240.6]) by fmsmga008.fm.intel.com with ESMTP; 14 May 2020 16:22:36 -0700 Received: from orsmsx606.amr.corp.intel.com (10.22.229.19) by ORSMSX108.amr.corp.intel.com (10.22.240.6) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 14 May 2020 16:22:36 -0700 Received: from orsmsx606.amr.corp.intel.com (10.22.229.19) by ORSMSX606.amr.corp.intel.com (10.22.229.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Thu, 14 May 2020 16:22:36 -0700 Received: from ORSEDG001.ED.cps.intel.com (10.7.248.4) by orsmsx606.amr.corp.intel.com (10.22.229.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1713.5 via Frontend Transport; Thu, 14 May 2020 16:22:36 -0700 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (104.47.58.101) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 14 May 2020 16:22:36 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=I2f3m1suC+6os2KlYa9M4okWNPPkNdkcg9YXYKDI5Qsexse/om/xJpNwU4f4lDntj6aCoUyU0+J2HqN8w4xp92/IksnMbdSutvH/V57BixjxgiDIr7l4OaUDid7D/m0aD/U5bdOiT69TnbWbYx39350X5f6vT8QT4r3KNTmzvYtQyvPvKd0VAHRGesAYMqvLlforY/dzY3mjeNPDQydkeMvatRorpOR3J9BOEX2t3B5oSFjeEJZk3/p+H61zmmLLaHrHGy7BKwrhZpz+1/Xwmmn8TBz96j4aPewZ7xQvxQnxg1m4rgWQI1hHu4qTzOc28OeRTiud1m5PH0tbElIGyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ZedO7sojVXFz1oMAmJ+ZYvvOLeNvfBFoSqdmglfceJk=; b=Zp62rlvNH4HC7pH8XyutCo2iXMnffoo14AI054Tycjf6TAtTz9sToHzaofsHjWnXp4YQagMbHTl8X94P68ra5SiyFAjyqWBZsACmYQHaeMbiiKLgBxijK2JCJPqIXb0jaDBHBzU7365wuRzdLPGGs6LLhsahOjY8Lis7HP70hTQN4MZ6yw63bz/4K2/7Gofiu1xmlF8JM5CfcSe31b+2Jpvv/vxBhNk0Z7Icmmbz2Rvi60bw9i+q/aM468ttXtyYxG4UQQMbhZtFMwESD+6jjO7aytVRiETUuUUDbXHJisjmyUKmsn2pez9pj5K3Rbba6n/TYTowXr5wsSHp9YqDfA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ZedO7sojVXFz1oMAmJ+ZYvvOLeNvfBFoSqdmglfceJk=; b=kT0e/1k8hC6UxBXrCerB17P1OZqCGZmnFmG8h4R2E+B/ZVgjylcjpi3jgnaGJNVOWpg9dvT+AFJI+rYy3GNfeO72PQiQGITWft1Nc5A+lFvOy8+vT/zsVLrkZ1IBbLD10r7ST8OlusGTOmHeJ5GSqqUXHDixf7eY+4mBEkBBTzY= Received: from DM6PR11MB4458.namprd11.prod.outlook.com (2603:10b6:5:14f::30) by DM6PR11MB3660.namprd11.prod.outlook.com (2603:10b6:5:13c::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2979.33; Thu, 14 May 2020 23:22:34 +0000 Received: from DM6PR11MB4458.namprd11.prod.outlook.com ([fe80::4579:5ed:66f2:34c]) by DM6PR11MB4458.namprd11.prod.outlook.com ([fe80::4579:5ed:66f2:34c%6]) with mapi id 15.20.2979.033; Thu, 14 May 2020 23:22:34 +0000 From: "Michael D Kinney" To: "Jiang, Guomin" , "devel@edk2.groups.io" , "Kinney, Michael D" CC: kuqin , Sean Brogan , "Bret Barkelew" Subject: Re: [PATCH v2] UnitTestFrameworkPkg/UnitTestLib: Correct dereferred pointer Thread-Topic: [PATCH v2] UnitTestFrameworkPkg/UnitTestLib: Correct dereferred pointer Thread-Index: AQHWEfynG191K5QPiE+BJtUKla40h6ioaP6Q Date: Thu, 14 May 2020 23:22:34 +0000 Message-ID: References: <20200414013254.2245-1-guomin.jiang@intel.com> In-Reply-To: <20200414013254.2245-1-guomin.jiang@intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.2.0.6 authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=intel.com; x-originating-ip: [134.134.136.220] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: f0c4a516-e79c-4c9e-3084-08d7f85daf0e x-ms-traffictypediagnostic: DM6PR11MB3660: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:923; x-forefront-prvs: 040359335D x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: /+E+HahppQ0kPO8QkWa168/r26qFdPFqNcD6gLwt2qDCdq5f2gkw+qIcvSWZFFYGR/fbqjRBLv4GOH8LsajwUNsI5IVoc0Hjt6sdhhcaiOW3hVQt9MbGsXAHHfcghAfgNaJeqyBDU8OUQ/0Wrj2F7vk2C9URxl8Rj5qPdzgCIoRhgCvGLSpOOAPU482R6XdG3FHEuK/etFHsNsbiO2nf+/hlxD86A7ZJO3UUw4I8YvVTEpmFZ7XaDLf8Lsu844tG20P+WbI68enu/syG9kM+UOJxKWg2vzzBGVPz0lQe6VW/eLq/VuakD/vbkKOKci+xy7hmowFZmIOGZuZT/buWcHoFjTdGv5yX4uWCmQm2/gKkvv4Tas92xZtDmEpIW7d1ZnoJqFSNn0drJgAayiJNC+MX7eM9dtYTcel82zrkPyKQAFPtmFvBDfUCJh6DFpbJA3CtKNT73s+hZOZHkoMlInGYrYtQ5b6Lq2UmgsN4RItoBhsg/uwWFNev/QBxyvnbNAap2MbyQaqBObVx7YYewg== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DM6PR11MB4458.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFTY:;SFS:(396003)(39860400002)(376002)(346002)(366004)(136003)(66476007)(5660300002)(66946007)(64756008)(66446008)(8936002)(478600001)(33656002)(7696005)(110136005)(54906003)(966005)(186003)(53546011)(316002)(26005)(6506007)(9686003)(86362001)(66556008)(76116006)(4326008)(52536014)(2906002)(71200400001)(55016002)(8676002);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata: xD3SmVRGBG/GU02jayXS09tclKdqfn4qXNv59u8X8dNGLjUl2L9UmIewifZl5jxurqgcO438TylWodpmyB8hQETtb5A4qiaRsjcRT1bqhfuaL5JoYijL2rD3AKL2gXuoE5GuMhPIkl4NBCT69QdIPKfT7NACs3YUMF3aPIEG/df2t7B6xGPYvHuYlhlg2NlC0bUGAlRglQ99oRmtWDjkcXN/MNlkNBi+5m5qrSbeI6tEfEfwEcmBwYG03hAiYRJ8Er2A8Yl8vF+P6D6G4CP8jqz9Ku9Ukp2E7/D7PI4+C98JsWTBuWQgWqmVGTfC+e7Vu2Aevlt1EVIY3CUVgchjMhoMNGZ5n4rH5LPR+hYPPzVKYZwhP9nQf7h2UGWhn8ocHbcnMuxlAwrHd/C5UmYLUxdkVUQYQJO10N4UqxBqwax8b1Ez+LC6kxIspMybiau0CLyLSQy/UxXQegevZNr1h0klM7qJF6kQKK45BQy7KCjtcF7hSJWIcco4mj2OgPpN MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: f0c4a516-e79c-4c9e-3084-08d7f85daf0e X-MS-Exchange-CrossTenant-originalarrivaltime: 14 May 2020 23:22:34.7904 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: X/V4dD4PaiivN4qrUj8dN5bOrsbtdsB2fcasrhBAvf23/E9il7ZYCyM1WHPFAqTW1RRs1f8i4+UEMygHu6siqB7xm02eMn4M3wsIJZzUnZ8= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR11MB3660 Return-Path: michael.d.kinney@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 UmV2aWV3ZWQtYnk6IE1pY2hhZWwgRCBLaW5uZXkgPG1pY2hhZWwuZC5raW5uZXlAaW50ZWwuY29t Pg0KDQpNaWtlDQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogSmlhbmcs IEd1b21pbiA8Z3VvbWluLmppYW5nQGludGVsLmNvbT4NCj4gU2VudDogTW9uZGF5LCBBcHJpbCAx MywgMjAyMCA2OjMzIFBNDQo+IFRvOiBkZXZlbEBlZGsyLmdyb3Vwcy5pbw0KPiBDYzoga3VxaW4g PGt1cWluQG1pY3Jvc29mdC5jb20+OyBLaW5uZXksIE1pY2hhZWwgRA0KPiA8bWljaGFlbC5kLmtp bm5leUBpbnRlbC5jb20+OyBTZWFuIEJyb2dhbg0KPiA8c2Vhbi5icm9nYW5AbWljcm9zb2Z0LmNv bT47IEJyZXQgQmFya2VsZXcNCj4gPEJyZXQuQmFya2VsZXdAbWljcm9zb2Z0LmNvbT4NCj4gU3Vi amVjdDogW1BBVENIIHYyXSBVbml0VGVzdEZyYW1ld29ya1BrZy9Vbml0VGVzdExpYjoNCj4gQ29y cmVjdCBkZXJlZmVycmVkIHBvaW50ZXINCj4gDQo+IEZyb206IGt1cWluIDxrdXFpbkBtaWNyb3Nv ZnQuY29tPg0KPiANCj4gUkVGOg0KPiBodHRwczovL2J1Z3ppbGxhLnRpYW5vY29yZS5vcmcvc2hv d19idWcuY2dpP2lkPTI2MDkNCj4gDQo+IFNhdmVkU3RhdGUgaXMgbm90IHN0aWNreSwgY29waWVk IHBvaW50ZXIgdXBkYXRlIHdpbGwNCj4gbm90IGNoYW5nZSBzb3VyY2UNCj4gcG9pbnRlcg0KPiAN Cj4gQ2M6IE1pY2hhZWwgRCBLaW5uZXkgPG1pY2hhZWwuZC5raW5uZXlAaW50ZWwuY29tPg0KPiBD YzogU2Vh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