From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mx.groups.io with SMTP id smtpd.web10.47900.1584948091218239703 for ; Mon, 23 Mar 2020 00:21:31 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 192.55.52.93, mailfrom: guomin.jiang@intel.com) IronPort-SDR: uF40RTU31SNCAFFHIU0EX9dDSp8oF5B/5Bfi7PZbLZshcx2erjeLe99j11t1QuqDzOTr8q8XHF 2Ynw6hVPv8jg== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Mar 2020 00:21:30 -0700 IronPort-SDR: INmNeOzRkiMMpLB0jK1GVTKifrPHhzZbeZYHEZmhwtCZclK7ginHXGzhpkerUP8vR21FXaYe1Q 5FXMGjj3BWZg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,295,1580803200"; d="scan'208";a="292494838" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by FMSMGA003.fm.intel.com with ESMTP; 23 Mar 2020 00:21:30 -0700 Received: from fmsmsx113.amr.corp.intel.com (10.18.116.7) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 23 Mar 2020 00:21:30 -0700 Received: from shsmsx108.ccr.corp.intel.com (10.239.4.97) by FMSMSX113.amr.corp.intel.com (10.18.116.7) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 23 Mar 2020 00:21:29 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.43]) by SHSMSX108.ccr.corp.intel.com ([169.254.8.235]) with mapi id 14.03.0439.000; Mon, 23 Mar 2020 15:21:27 +0800 From: "Guomin Jiang" To: "devel@edk2.groups.io" , "Kinney, Michael D" , "Xu, Wei6" CC: Kun Qin , "Gao, Liming" Subject: Re: [edk2-devel] [PATCH] FmpDevicePkg/FmpDxe: Fix uninitialized pointer dereference Thread-Topic: [edk2-devel] [PATCH] FmpDevicePkg/FmpDxe: Fix uninitialized pointer dereference Thread-Index: AQHV/Ow90WEWUrmAW06w7cZabl8GS6hN8BUAgAfYilA= Date: Mon, 23 Mar 2020 07:21:27 +0000 Message-ID: References: <20200318061227.12480-1-wei6.xu@intel.com> In-Reply-To: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Return-Path: guomin.jiang@intel.com Content-Language: en-US Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 SGkgWHV3ZWksIFFpbkt1biwNCg0KSGF2ZSB5b3UgaW5kZWVkIGVuY291bnRlciB0aGlzIGlzc3Vl IG9yIGp1c3QgdGhpbmsgaXQgaXMgcG90ZW50aWFsIGlzc3VlLg0KDQpJIHRoaW5rICBiZWxvdyBj b2RlIHdpbGwgYWx3YXlzIGluaXRpYWxpemUgdGhlIG1GbXBJbWFnZUluZm9CdWZbXSBhbmQgbWFr ZSBzdXJlIGl0IGlzIHZhbGlkLg0KTGluZSA1ODUgLSBtRm1wSW1hZ2VJbmZvQnVmW0luZGV4XSA9 IEFsbG9jYXRlWmVyb1Bvb2wgKEltYWdlSW5mb1NpemUpOw0KDQpJZiB0aGUgc2Vjb25kIEdldElt YWdlSW5mbygpIGlzIHJ1bm5lZCwgSSB0aGluayBpdCB3aWxsIGFsd2F5cyBoYXZlIGNvcnJlY3Qg bWZtcEltYWdlSW5mb0J1ZltdIGFkZHJlc3MuDQoNCk9mIGNvdXJzZSwgaXQgaXMgb2sgdG8gdXNl IEFsbG9jYXRlWmVyb1Bvb2wgdG8gZW5zdXJlIHplcm8gYnVmZmVyIGlzIGFsbG9jYXRlZC4NCg0K VGhhbmtzDQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogZGV2ZWxA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