From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=192.55.52.120; helo=mga04.intel.com; envelope-from=liming.gao@intel.com; receiver=edk2-devel@lists.01.org Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id AC01D2205B92C for ; Thu, 11 Jan 2018 16:54:51 -0800 (PST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 11 Jan 2018 17:00:05 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.46,346,1511856000"; d="scan'208";a="26498456" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by orsmga002.jf.intel.com with ESMTP; 11 Jan 2018 17:00:04 -0800 Received: from fmsmsx102.amr.corp.intel.com (10.18.124.200) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.319.2; Thu, 11 Jan 2018 17:00:03 -0800 Received: from shsmsx102.ccr.corp.intel.com (10.239.4.154) by FMSMSX102.amr.corp.intel.com (10.18.124.200) with Microsoft SMTP Server (TLS) id 14.3.319.2; Thu, 11 Jan 2018 17:00:02 -0800 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.152]) by shsmsx102.ccr.corp.intel.com ([169.254.2.189]) with mapi id 14.03.0319.002; Fri, 12 Jan 2018 09:00:01 +0800 From: "Gao, Liming" To: "Wu, Hao A" , "edk2-devel@lists.01.org" CC: "Ni, Ruiyu" , "Zhu, Yonghong" Thread-Topic: [PATCH 0/5] BaseTools/Common & DevicePath: Code refinements Thread-Index: AQHTiEHZOW+x9yqAwEiherkbeDhfXqNvcNHQ Date: Fri, 12 Jan 2018 01:00:01 +0000 Message-ID: <4A89E2EF3DFEDB4C8BFDE51014F606A14E1A3A3F@SHSMSX104.ccr.corp.intel.com> References: <20180108053044.11788-1-hao.a.wu@intel.com> In-Reply-To: <20180108053044.11788-1-hao.a.wu@intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.0.0.116 dlp-reaction: no-action x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [PATCH 0/5] BaseTools/Common & DevicePath: Code refinements X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Jan 2018 00:54:52 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Liming Gao > -----Original Message----- > From: Wu, Hao A > Sent: Monday, January 8, 2018 1:31 PM > To: edk2-devel@lists.01.org > Cc: Wu, Hao A ; Ni, Ruiyu ; Zhu, = Yonghong ; Gao, Liming > > Subject: [PATCH 0/5] BaseTools/Common & DevicePath: Code refinements >=20 > The series refines the C/C++ source codes within > BaseTools/C/Source/Common/ and BaseTools/Source/C/DevicePath/ for the > below catagories: >=20 > * Resolve possible resource/memory leaks >=20 > * Resolve possible NULL pointer dereferences >=20 > Cc: Ruiyu Ni > Cc: Yonghong Zhu > Cc: Liming Gao >=20 > Hao Wu (5): > BaseTools/C/Common: Fix code to be more readable > BaseTools/C/Common: Fix potential memory leak > BaseTools/DevicePath: Fix potential memory leak > BaseTools/C/Common: Fix potential null pointer dereference > BaseTools/DevicePath: Fix potential null pointer dereference >=20 > BaseTools/Source/C/Common/CommonLib.c | 2 +- > BaseTools/Source/C/Common/PcdValueCommon.c | 10 ++++++++++ > BaseTools/Source/C/DevicePath/DevicePath.c | 6 ++++++ > BaseTools/Source/C/DevicePath/DevicePathFromText.c | 11 +++++++++++ > 4 files changed, 28 insertions(+), 1 deletion(-) >=20 > -- > 2.12.0.windows.1