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.web10.3179.1574987934152127201 for ; Thu, 28 Nov 2019 16:38:54 -0800 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 192.55.52.120, mailfrom: siyuan.fu@intel.com) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 28 Nov 2019 16:38:53 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.69,255,1571727600"; d="scan'208";a="212181167" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by orsmga006.jf.intel.com with ESMTP; 28 Nov 2019 16:38:53 -0800 Received: from fmsmsx152.amr.corp.intel.com (10.18.125.5) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 28 Nov 2019 16:38:53 -0800 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by FMSMSX152.amr.corp.intel.com (10.18.125.5) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 28 Nov 2019 16:38:52 -0800 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.60]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.2]) with mapi id 14.03.0439.000; Fri, 29 Nov 2019 08:38:51 +0800 From: "Siyuan, Fu" To: Maciej Rabeda , "devel@edk2.groups.io" CC: "Wu, Jiaxin" Subject: Re: [PATCH v1 1/1] NetworkPkg: Fixes to static code analysis hits Thread-Topic: [PATCH v1 1/1] NetworkPkg: Fixes to static code analysis hits Thread-Index: AQHVpfqXnn1EiyFgKUqPDOKJBB7fm6ehTr+Q Date: Fri, 29 Nov 2019 00:38:50 +0000 Message-ID: References: <20191128144606.2040-1-maciej.rabeda@linux.intel.com> <20191128144606.2040-2-maciej.rabeda@linux.intel.com> In-Reply-To: <20191128144606.2040-2-maciej.rabeda@linux.intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMzc4MGJlZWUtZGEyMy00NDIwLWI1NDctMGIwNDc0MjA2YTAyIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiVzU1Vmw3RGNpUTNMQkxoa01IejRmR0I1a1FyMmVNcjk4T0JSVFhnSThwNzBFczhIMU43TU1UN1VMOFNtdkt3UCJ9 dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Return-Path: siyuan.fu@intel.com Content-Language: en-US Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: base64 UmV2aWV3ZWQtYnk6IFNpeXVhbiBGdSA8c2l5dWFuLmZ1QGludGVsLmNvbT4NCg0KPiAtLS0tLU9y aWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBNYWNpZWogUmFiZWRhIDxtYWNpZWoucmFiZWRh QGxpbnV4LmludGVsLmNvbT4NCj4gU2VudDogMjAxOcTqMTHUwjI4yNUgMjI6NDYNCj4gVG86IGRl dmVsQGVkazIuZ3JvdXBzLmlvDQo+IENjOiBXdSwgSmlheGluIDxqaWF4aW4ud3VAaW50ZWwuY29t PjsgRnUsIFNpeXVhbiA8c2l5dWFuLmZ1QGludGVsLmNvbT4NCj4gU3ViamVjdDogW1BBVENII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