From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mx.groups.io with SMTP id smtpd.web10.56684.1598889383787608787 for ; Mon, 31 Aug 2020 08:56:24 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@intel.onmicrosoft.com header.s=selector2-intel-onmicrosoft-com header.b=rLWthWiJ; spf=pass (domain: intel.com, ip: 134.134.136.65, mailfrom: jiewen.yao@intel.com) IronPort-SDR: DsLO8rCwYsuEMtVrv1ZeAhm24sDEoBaDDInoc1LDJpjhvsQpoV4RsB3fCTlbd72aDNw1HB557n y7qkzeMw0INA== X-IronPort-AV: E=McAfee;i="6000,8403,9730"; a="157005572" X-IronPort-AV: E=Sophos;i="5.76,376,1592895600"; d="scan'208";a="157005572" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 Aug 2020 08:56:22 -0700 IronPort-SDR: XaJC9ElFWCk2D35qpD+TfQZ7aFdwehKQtsmVVPmwqpNob4bwod3yH5iqzJo5cHzSHDiRNwWFMr ViyuyvAZeqLg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,376,1592895600"; d="scan'208";a="330732821" Received: from orsmsx601.amr.corp.intel.com ([10.22.229.14]) by orsmga008.jf.intel.com with ESMTP; 31 Aug 2020 08:56:21 -0700 Received: from orsmsx603.amr.corp.intel.com (10.22.229.16) by ORSMSX601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Mon, 31 Aug 2020 08:56:16 -0700 Received: from orsmsx104.amr.corp.intel.com (10.22.225.131) by orsmsx603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1713.5 via Frontend Transport; Mon, 31 Aug 2020 08:56:16 -0700 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by ORSMSX104.amr.corp.intel.com (10.22.225.131) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 31 Aug 2020 08:56:15 -0700 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (104.47.55.175) by edgegateway.intel.com (134.134.137.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.1713.5; Mon, 31 Aug 2020 08:56:15 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=L9+obL7SJZ4ZL/6F4pJ8ll8fL1DEJP0gb4odVCCdDqoIBTsVaaUtCrDsdorBFnEibDm+8f6mgzVc4JPi/ud6RzOAnfbuvNHIMEpgCwrlRcfcWQlm02g+Fx6oANa8BG3v3IhWamW5/edNhGOa0z+t2aYo4/JnlJBPTY+8sU+b8aucLA09G66hJ71Iu0W2B8m3rrp9PtsBMzgrNcxEAme9wCPp8tlB7sNeMUlLVq78qO3zbaAxfs+RBMckE2fyh1htadgD/Zq60LRSteglx9qDXgDElHXOfXsqm3+HuIK2kV6qjIKQ9qHt7UH5M2p1yp/tspzemgoulCj0/e8wJOmzoQ== 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=ITe3t51J7O243BQs+mkUfQtS+k8Ro0F/50b+DvEfVN0=; b=nNlRNc6KPJM1Nx6UwC8ghfxKHXsjLuuVvbKJ+uFGstPi4pHBUaT2nonlnuo11fK9Qnsv767vtFA61AIQfbkntz7S8AIwGh3PzBIgqd/fjOHTkW+SsM8tvCZqvi36Eh3BP3xCu1/NeGcffehH6GglugvBXvF7lNsSPnjFAEFZHwloBMj/wONNU0Kjv8cEazaSPXJlYPlLRz1dXOSBbfD4EQicVlbIwRTlfBTzPTKfoUT2BlkbbVH08nTONW/wrr2AQqC13R+bYVpYbFoTQIgRPU+FjAvFIQdwkPtzq1w0bSbilS3chYy0kqxBgmoRC0w58s1QBlV5Cv2gKrF0dKV55A== 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=ITe3t51J7O243BQs+mkUfQtS+k8Ro0F/50b+DvEfVN0=; b=rLWthWiJOupnNX9lK8vRUbqOrzSg/rjj5awgeEKHOg8662NBrxu/ueuBbWagmsUrTNvjJnPsZapVYCqW+n5ysuNDNHX7QZ2h0W3ANXzQdpmzEjeT4pcOSJ4qmbHcAi+Z75LzqbMPEcZPe0Ee6q5sZ7pyxJx9Xwoj7RyIIv7/JVM= Received: from CY4PR11MB1288.namprd11.prod.outlook.com (2603:10b6:903:23::8) by CY4PR11MB1511.namprd11.prod.outlook.com (2603:10b6:910:b::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3326.23; Mon, 31 Aug 2020 15:56:14 +0000 Received: from CY4PR11MB1288.namprd11.prod.outlook.com ([fe80::163:9209:a92d:812]) by CY4PR11MB1288.namprd11.prod.outlook.com ([fe80::163:9209:a92d:812%6]) with mapi id 15.20.3326.025; Mon, 31 Aug 2020 15:56:14 +0000 From: "Yao, Jiewen" To: Laszlo Ersek , "devel@edk2.groups.io" , "Liu, Zhiguang" CC: "Wang, Jian J" , "Zhang, Qi1" , "Kumar, Rahul1" Subject: Re: [edk2-devel] [PATCH] SecurityPkg: Initailize variable Status before it is consumed. Thread-Topic: [edk2-devel] [PATCH] SecurityPkg: Initailize variable Status before it is consumed. Thread-Index: AQHWf278n2TMh3fczkKKnHnSK/YQD6lSXN8AgAACMZA= Date: Mon, 31 Aug 2020 15:56:14 +0000 Message-ID: References: <20200831081540.1431-1-zhiguang.liu@intel.com> In-Reply-To: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.5.1.3 dlp-product: dlpe-windows dlp-reaction: no-action authentication-results: redhat.com; dkim=none (message not signed) header.d=none;redhat.com; dmarc=none action=none header.from=intel.com; x-originating-ip: [192.198.147.210] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: ea735256-a192-41f7-103d-08d84dc66399 x-ms-traffictypediagnostic: CY4PR11MB1511: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: zpIIekjAx20MP/6Gysk2PvyVTrWPeJflHb5pEjCltNGO6C7KRXu0Ne1+sLeEz8xF7w4GYeZvBCFH48o+7F2Hq3wGWM7Tmokv6RrjiviiYktz3PaF1YqSF4F1UvJEFIf9j6XQYkbGAM7VafoMP2IN6+1jJR95KxmCcJ+y9OkZVDRMrd/z3PkbwIEySr/5Y91HPMvgca28p+hMiaUyi0OIdZLvrZnd5CY/YtTzQJ8mbjhOSzNzRL5fRdx3I9qZcVbGE/7SXJIw2dVnc5g41fQCVrC+JKHFEOABJUqGNNqvJTuUeeXSFmfpLBMJc+lZYL2bMTrPVn2Xu6jAHuOZsk/AgfT1OhiQ2ftX+DdGaSMP5/tMLjuh3ggsokPfHtY/1cmnWwX6yD//MsGZT07c083ZEw== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:CY4PR11MB1288.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(346002)(366004)(376002)(396003)(136003)(39860400002)(5660300002)(107886003)(54906003)(316002)(6506007)(110136005)(19627235002)(86362001)(478600001)(52536014)(966005)(83380400001)(53546011)(71200400001)(66476007)(8676002)(7696005)(66946007)(66556008)(64756008)(2906002)(76116006)(66446008)(8936002)(26005)(15650500001)(4326008)(33656002)(55016002)(186003)(9686003)(6636002);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata: z8LiBQtmOGueMqX3kxASnvDccpiPtBoER90huOttFB2RDXHx788XuMhVYKpceZHZ//EN/3Mw6s0h7dh8Mvqsk6Ui3yHAC8V5Wj3tEw0ytbfd1RfMshZr0Z67YM/Ffgj8meUF7xAz1HHZaR2V7cLyRkAf60K5ZEQhG6fSTvgv07xWuz+7jjhSPN2TX13Ofp7QW/ON6GDm3fH9Yl3WZS4Sl0WomHrloCfGnVLIP9xuRqLClkxu35hK7OJj7AMaARhX1mDhswz9pVgRtssPErBu5t0A41j5pV0YyZzXFHq/FhPAjnGY7v2SCZa4qd+ByNn7tHpQ1sXkYXwWhRgOUmGUI6HIzbCL9Qt1sspvAAeUqUIv++868H1jUkgh2YDalpwSZJniVwT7CAX+7ttNUFJXv89e8X6knV6nBY60DlqIa0BPp1o3BFXb+Cm2PERdRPRF3m8L1dr3u5FfFWPwLzPiGTWfQ5hB4GCaBiJsSM5l/jiVOEiu14NWnDQGHvSj7wkytQV3TRaoWs/2lO7yJeYWtgdaPWe3gUwmGh4vUoX46+fI4oNPx6CGAKTpO1Vc36M1zjnL9BFUWVuOvcmPqDf9zp6byAmiAVQaYaMve+9iIc5N7q9aB3pYJTgd+uKx44QjPyEMihI0/iYXdOyXdvFGOQ== MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CY4PR11MB1288.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: ea735256-a192-41f7-103d-08d84dc66399 X-MS-Exchange-CrossTenant-originalarrivaltime: 31 Aug 2020 15:56:14.0954 (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: NRxaL3YG43GB7+7MMIFqZLe23s2BE6aur7QkFeylFAd2GJaEH/RWJoDf8pDPj5je0zzA13i4wagoh4/qpw9rvQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR11MB1511 Return-Path: jiewen.yao@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 QWdyZWUgd2l0aCBMYXN6bG8uDQoNCkkgcHJlZmVyIHRvIG1vdmUgIlN0YXR1cyA9IEVGSV9TVUND RVNTOyIgYmVmb3JlIHRoZSBFREtJSV9UQ0dfUFJFX0hBU0ggY2hlY2suDQoNCldpdGggdGhhdCBt b3ZpbmcsIHJldmlld2VkLWJ5OiBKaWV3ZW4gWWFvIDxqaWV3ZW4ueWFvQGludGVsLmNvbT4NCg0K VGhhbmsgeW91DQpZYW8gSmlld2VuDQoNCg0KPiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0K PiBGcm9tOiBMYXN6bG8gRXJzZWsgPGxlcnNla0ByZWRoYXQuY29tPg0KPiBTZW50OiBNb25kYXks IEF1Z3VzdCAzMSwgMjAyMCAxMTo0NiBQTQ0KPiBUbzogZGV2ZWxAZWRrMi5ncm91cHMuaW87IExp dSwgWmhpZ3VhbmcgPHpoaWd1YW5nLmxpdUBpbnRlbC5jb20+DQo+IENjOiBZYW8sIEppZXdlbiA8 amlld2VuLnlhb0BpbnRlbC5jb20+OyBXYW5nLCBKaWFuIEogPGppYW4uai53YW5nQGludGVsLmNv bT47DQo+IFpoYW5nLCBRaTEgPHFpMS56aGFuZ0BpbnRlbC5jb20+OyBLdW1hciwgUmFodWwxIDxy YWh1bDEua3VtYXJAaW50ZWwuY29tPg0KPiBTdWJqZWN0OiBSZTogW2VkazItZGV2ZWxdIFtQQVRD SF0gU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