mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-26 23:24:03 +02:00
StandaloneMmPkg/Core: fix bogus FV pointer in DEBUG string
FvIsBeingProcessed () emits a DEBUG print with the intent to print the memory address of the FV that is being processed, but instead, it prints the contents of an uninitialized stack variable. Signed-off-by: Ard Biesheuvel <ard.biesheuvel@arm.com> Reviewed-by: Jiewen Yao <Jiewen.yao@intel.com> Reviewed-by: Sami Mujawar <sami.mujawar@arm.com> Tested-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
This commit is contained in:
parent
a2433243fb
commit
bd7c73ba77
@ -816,7 +816,7 @@ FvIsBeingProcessed (
|
||||
{
|
||||
KNOWN_FWVOL *KnownFwVol;
|
||||
|
||||
DEBUG ((DEBUG_INFO, "FvIsBeingProcessed - 0x%08x\n", KnownFwVol));
|
||||
DEBUG ((DEBUG_INFO, "FvIsBeingProcessed - 0x%08x\n", FwVolHeader));
|
||||
|
||||
KnownFwVol = AllocatePool (sizeof (KNOWN_FWVOL));
|
||||
ASSERT (KnownFwVol != NULL);
|
||||
|
Loading…
x
Reference in New Issue
Block a user