MdeModulePkg: Fix BrotliCustomDecompressLib potential issue
- Fix BrotliCustomDecompressLib potential issue
Cc: Liming Gao <liming.gao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Bell Song <binx.song@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
(cherry picked from commit 36a0d5cab8
)
This commit is contained in:
@@ -126,6 +126,7 @@ BrotliDecompress (
|
||||
BrotliState * BroState;
|
||||
VOID * Temp;
|
||||
|
||||
TotalOut = 0;
|
||||
AvailableOut = FILE_BUFFER_SIZE;
|
||||
Result = BROTLI_RESULT_ERROR;
|
||||
BroState = BrotliCreateState(BrAlloc, BrFree, BuffInfo);
|
||||
|
Reference in New Issue
Block a user