From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=134.134.136.20; helo=mga02.intel.com; envelope-from=yonghong.zhu@intel.com; receiver=edk2-devel@lists.01.org Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) (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 649802220D1E6 for ; Wed, 10 Jan 2018 19:03:55 -0800 (PST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 10 Jan 2018 19:09:07 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.46,343,1511856000"; d="scan'208";a="19165164" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by orsmga003.jf.intel.com with ESMTP; 10 Jan 2018 19:09:07 -0800 Received: from fmsmsx124.amr.corp.intel.com (10.18.125.39) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.319.2; Wed, 10 Jan 2018 19:09:07 -0800 Received: from shsmsx104.ccr.corp.intel.com (10.239.4.70) by fmsmsx124.amr.corp.intel.com (10.18.125.39) with Microsoft SMTP Server (TLS) id 14.3.319.2; Wed, 10 Jan 2018 19:09:07 -0800 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.213]) by SHSMSX104.ccr.corp.intel.com ([169.254.5.152]) with mapi id 14.03.0319.002; Thu, 11 Jan 2018 11:09:05 +0800 From: "Zhu, Yonghong" To: "Wu, Hao A" , "edk2-devel@lists.01.org" CC: "Ni, Ruiyu" , "Gao, Liming" , "Zhu, Yonghong" Thread-Topic: [PATCH 0/5] BaseTools/Common & DevicePath: Code refinements Thread-Index: AQHTiEHayndGDI2eNkWwbw7TN01TcqNuAdqg Date: Thu, 11 Jan 2018 03:09:04 +0000 Message-ID: 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: 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: Thu, 11 Jan 2018 03:03:55 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Please help to update copyright year when push it. Reviewed-by: Yonghong Zhu Best Regards, Zhu Yonghong -----Original Message----- From: Wu, Hao A=20 Sent: Monday, January 08, 2018 1:31 PM To: edk2-devel@lists.01.org Cc: Wu, Hao A ; Ni, Ruiyu ; Zhu, Yo= nghong ; Gao, Liming Subject: [PATCH 0/5] BaseTools/Common & DevicePath: Code refinements The series refines the C/C++ source codes within BaseTools/C/Source/Common/= and BaseTools/Source/C/DevicePath/ for the below catagories: * Resolve possible resource/memory leaks * Resolve possible NULL pointer dereferences Cc: Ruiyu Ni Cc: Yonghong Zhu Cc: Liming Gao 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 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(-) -- 2.12.0.windows.1