]> git.proxmox.com Git - mirror_edk2.git/commit - IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.c
IntelFrameworkModulePkg: Fix UEFI and Tiano Decompression logic issue
authorLiming Gao <liming.gao@intel.com>
Thu, 8 Nov 2018 23:58:16 +0000 (07:58 +0800)
committerLiming Gao <liming.gao@intel.com>
Sun, 11 Nov 2018 03:48:37 +0000 (11:48 +0800)
commitade71c52a49d659b20c0b433fb11ddb4f4f543c4
treef630f11cca9f95da4e5e8987bb7dd7bd00ea7f5b
parent1c4cecc9fd314de0dce8125b0d4b45967637a401
IntelFrameworkModulePkg: Fix UEFI and Tiano Decompression logic issue

https://bugzilla.tianocore.org/show_bug.cgi?id=1317

This is a regression issue caused by 684db6da64bc7b5faee4e1174e801c245f563b5c.
In Decode() function, once mOutBuf is fully filled, Decode() should return.
Current logic misses the checker of mOutBuf after while() loop.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com>
IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.c