From 5a3de93a05cfab24810bd1910c470fece84cde06 Mon Sep 17 00:00:00 2001 From: Kun Qin Date: Tue, 16 Apr 2024 16:26:15 -0700 Subject: [PATCH] uncru 2 --- .../Library/AdvancedLoggerLib/PeiCore/AdvancedLoggerLib.c | 1 + 1 file changed, 1 insertion(+) diff --git a/AdvLoggerPkg/Library/AdvancedLoggerLib/PeiCore/AdvancedLoggerLib.c b/AdvLoggerPkg/Library/AdvancedLoggerLib/PeiCore/AdvancedLoggerLib.c index 78bd256b4c..0779cb74e9 100644 --- a/AdvLoggerPkg/Library/AdvancedLoggerLib/PeiCore/AdvancedLoggerLib.c +++ b/AdvLoggerPkg/Library/AdvancedLoggerLib/PeiCore/AdvancedLoggerLib.c @@ -510,6 +510,7 @@ AdvancedLoggerGetLoggerInfo ( if (EFI_ERROR (Status)) { return NULL; } + LoggerInfo = (ADVANCED_LOGGER_INFO *)GET_GUID_HOB_DATA (GuidHobInterimBuf); BufferSize = sizeof (ADVANCED_LOGGER_INFO) + ADVANCED_LOGGER_MAX_MESSAGE_SIZE; ZeroMem ((VOID *)LoggerInfo, BufferSize);