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.151; helo=mga17.intel.com; envelope-from=liming.gao@intel.com; receiver=edk2-devel@lists.01.org Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) (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 B1A162118EF7D for ; Sat, 10 Nov 2018 06:18:54 -0800 (PST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 10 Nov 2018 06:18:54 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,488,1534834800"; d="scan'208";a="106968449" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by fmsmga001.fm.intel.com with ESMTP; 10 Nov 2018 06:18:53 -0800 Received: from fmsmsx154.amr.corp.intel.com (10.18.116.70) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.408.0; Sat, 10 Nov 2018 06:18:53 -0800 Received: from shsmsx102.ccr.corp.intel.com (10.239.4.154) by FMSMSX154.amr.corp.intel.com (10.18.116.70) with Microsoft SMTP Server (TLS) id 14.3.408.0; Sat, 10 Nov 2018 06:18:53 -0800 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.117]) by shsmsx102.ccr.corp.intel.com ([169.254.2.84]) with mapi id 14.03.0415.000; Sat, 10 Nov 2018 22:18:51 +0800 From: "Gao, Liming" To: "Zhu, Yonghong" , "edk2-devel@lists.01.org" CC: "Laszlo Ersek (lersek@redhat.com)" , "Kinney, Michael D" , "leif.lindholm@linaro.org" , "afish@apple.com" Thread-Topic: [edk2] [Patch 0/3] Fix UEFI and Tiano Decompression logic issue Thread-Index: AQHUd772ueEsON9b60eF8yBDy4QVpKVIMDOAgADgTqA= Date: Sat, 10 Nov 2018 14:18:51 +0000 Message-ID: <4A89E2EF3DFEDB4C8BFDE51014F606A14E3686EA@SHSMSX104.ccr.corp.intel.com> References: <1541721496-13332-1-git-send-email-liming.gao@intel.com> In-Reply-To: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNzg1N2Y2NzMtZTRkYi00OGJkLThkNDctNzcyZDJmNGQ5YTg2IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiR291RzJWTkQ2dG5cLzJHR2M3WTBmREg4M3hiaVpZNkozZEJWVXhuTkFTZWllNDRjZ3FrbXRVRnVHaVg5OUNmMksifQ== dlp-product: dlpe-windows dlp-version: 11.0.400.15 dlp-reaction: no-action x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [Patch 0/3] Fix UEFI and Tiano Decompression logic issue X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Nov 2018 14:18:54 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, all This patch fixes the Uefi and Tiano decompression issue. I will push it f= or edk2-stable201811 tag. If you have any comments, please let me know.=20 Thanks Liming > -----Original Message----- > From: Zhu, Yonghong > Sent: Saturday, November 10, 2018 4:54 PM > To: Gao, Liming ; edk2-devel@lists.01.org > Cc: Zhu, Yonghong > Subject: RE: [edk2] [Patch 0/3] Fix UEFI and Tiano Decompression logic is= sue >=20 > Reviewed-by: Yonghong Zhu >=20 > Best Regards, > Zhu Yonghong >=20 > -----Original Message----- > From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of Li= ming Gao > Sent: Friday, November 09, 2018 7:58 AM > To: edk2-devel@lists.01.org > Subject: [edk2] [Patch 0/3] Fix UEFI and Tiano Decompression logic issue >=20 > https://bugzilla.tianocore.org/show_bug.cgi?id=3D1317 >=20 > This is a regression issue caused by previous change with more checkers i= n UefiDecompress. In Decode() function, once mOutBuf is fully > filled, Decode() should return. Current logic misses the checker of mOutB= uf after while() loop. >=20 > Liming Gao (3): > BaseTools: Fix UEFI and Tiano Decompression logic issue > MdePkg BaseUefiDecompressLib: Fix UEFI Decompression logic issue > IntelFrameworkModulePkg: Fix UEFI and Tiano Decompression logic issue >=20 > BaseTools/Source/C/Common/Decompress.c = | 6 ++++++ > BaseTools/Source/C/TianoCompress/TianoCompress.c = | 6 ++++++ > IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUef= iTianoCustomDecompressLib.c | 6 ++++++ > MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.c = | 6 ++++++ > 4 files changed, 24 insertions(+) >=20 > -- > 2.16.2.windows.1 >=20 > _______________________________________________ > edk2-devel mailing list > edk2-devel@lists.01.org > https://lists.01.org/mailman/listinfo/edk2-devel