From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 192.55.52.43, mailfrom: hao.a.wu@intel.com) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by groups.io with SMTP; Thu, 25 Apr 2019 22:39:00 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 25 Apr 2019 22:38:59 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,396,1549958400"; d="scan'208";a="138959904" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by orsmga006.jf.intel.com with ESMTP; 25 Apr 2019 22:38:58 -0700 Received: from fmsmsx113.amr.corp.intel.com (10.18.116.7) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.408.0; Thu, 25 Apr 2019 22:38:58 -0700 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by FMSMSX113.amr.corp.intel.com (10.18.116.7) with Microsoft SMTP Server (TLS) id 14.3.408.0; Thu, 25 Apr 2019 22:38:57 -0700 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.92]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.42]) with mapi id 14.03.0415.000; Fri, 26 Apr 2019 13:38:56 +0800 From: "Wu, Hao A" To: Ard Biesheuvel , "Kinney, Michael D" , "Gao, Liming" , "Wang, Jian J" CC: edk2-devel-groups-io Subject: Re: [PATCH v2] MdeModulePkg/DxeCore: Please static checker for false report Thread-Topic: [PATCH v2] MdeModulePkg/DxeCore: Please static checker for false report Thread-Index: AQHU+mxrj9SYL0zTKkWUFOKzYAErIKZN73Cw Date: Fri, 26 Apr 2019 05:38:55 +0000 Message-ID: References: <20190424050549.6760-1-hao.a.wu@intel.com> In-Reply-To: Accept-Language: zh-CN, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Return-Path: hao.a.wu@intel.com Content-Language: en-US Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 PiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBBcmQgQmllc2hldXZlbCBbbWFp bHRvOmFyZC5iaWVzaGV1dmVsQGxpbmFyby5vcmddDQo+IFNlbnQ6IFdlZG5lc2RheSwgQXByaWwg MjQsIDIwMTkgMzowNyBQTQ0KPiBUbzogV3UsIEhhbyBBDQo+IENjOiBlZGsyLWRldmVsLWdyb3Vw cy1pbzsgS2lubmV5LCBNaWNoYWVsIEQ7IEdhbywgTGltaW5nOyBXYW5nLCBKaWFuIEoNCj4gU3Vi amVjdDogUmU6IFtQQVRDSCB2Ml0gTWRlTW9kdWxlUGtnL0R4ZUNvcmU6IFBsZWFzZSBzdGF0aWMg Y2hlY2tlciBmb3INCj4gZmFsc2UgcmVwb3J0DQo+IA0KPiBPbiBXZWQsIDI0IEFwciAyMDE5IGF0 IDA3OjA1LCBIYW8gV3UgPGhhby5hLnd1QGludGVsLmNvbT4gd3JvdGU6DQo+ID4NCj4gPiBBZnRl ciBjb21taXQgNTdkZjE3ZmUyNiwgc29tZSBzdGF0aWMgY2hlY2sgcmVwb3J0cyBzdXNwaWNvdXMg TlVMTCBwb2ludGVyDQo+ID4gZGVmZXJlbmNlIGF0IGxpbmU6DQo+ID4NCj4gPiAgIEVudHJ5LT5N YWNoaW5lVHlwZSA9IEVudHJ5LT5FbXVsYXRvci0+TWFjaGluZVR5cGU7DQo+ID4gICAgICAgICAg ICAgICAgICAgICAgICBeXl5eXl5eXl5eXl5eXl4NCj4gPg0KPiA+IHdpdGhpbiBmdW5jdGlvbiBQ ZUNvZmZFbXVQcm90b2NvbE5vdGlmeSgpLg0KPiA+DQo+ID4gSG93ZXZlciwgJ0VudHJ5LT5FbXVs YXRvcicgaXMgZ3Vhcm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+ICsgIEVGSV9T VEFUVVMgICAgICAgICAgICAgICAgICAgICAgICAgICAgU3RhdHVzOw0KPiA+ICsgIFVJTlROICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgQnVmZmVyU2l6ZTsNCj4gPiArICBFRklfSEFO RExFICAgICAgICAgICAgICAgICAgICAgICAgICAgIEVtdUhhbmRsZTsNCj4gPiArICBFREtJSV9Q RUNPRkZfSU1BR0VfRU1VTEFUT1JfUFJPVE9DT0wgICpFbXVsYXRvcjsNCj4gPiArICBFTVVMQVRP Ul9FTlRSWSAgICAgICAgICAgICAgICAgICAgICAgICpFbnRyeTsNCj4gPg0KPiA+ICAgIEVtdUhh bmRsZSA9IE5VTEw7DQo+ID4gKyAgRW11bGF0b3IgID0gTlVMTDsNCj4gPg0KPiA+ICAgIHdoaWxl IChUUlVFKSB7DQo+ID4gICAgICBCdWZmZXJTaXplID0gc2l6ZW9mIChFbXVIYW5kbGUpOw0KPiA+ IEBAIC0xNTcsMTYgKzE1OSwxOSBAQCBQZUNvZmZFbXVQcm90b2NvbE5vdGlmeSAoDQo+ID4gICAg ICAgIHJldHVybjsNCj4gPiAgICAgIH0NCj4gPg0KPiA+IC0gICAgRW50cnkgPSBBbGxvY2F0ZVpl cm9Qb29sIChzaXplb2YgKCpFbnRyeSkpOw0KPiA+IC0gICAgQVNTRVJUIChFbnRyeSAhPSBOVUxM KTsNCj4gPiAtDQo+ID4gICAgICBTdGF0dXMgPSBDb3JlSGFuZGxlUHJvdG9jb2wgKA0KPiA+ICAg ICAgICAgICAgICAgICBFbXVIYW5kbGUsDQo+ID4gICAgICAgICAgICAgICAgICZnRWRraWlQZUNv ZmZJbWFnZUVtdWxhdG9yUHJvdG9jb2xHdWlkLA0KPiA+IC0gICAgICAgICAgICAgICAoVk9JRCAq KikmRW50cnktPkVtdWxhdG9yDQo+ID4gKyAgICAgICAgICAgICAgIChWT0lEICoqKSZFbXVsYXRv cg0KPiA+ICAgICAgICAgICAgICAgICApOw0KPiA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