Reviewed-by: Jiewen Yao <[email protected]> > -----Original Message----- > From: [email protected] <[email protected]> On Behalf Of Ard > Biesheuvel > Sent: Wednesday, June 10, 2020 4:18 PM > To: [email protected] > Cc: Ard Biesheuvel <[email protected]>; Kinney, Michael D > <[email protected]>; Gao, Liming <[email protected]>; Yao, > Jiewen <[email protected]>; Sami Mujawar <[email protected]>; > Ilias Apalodimas <[email protected]> > Subject: [edk2-devel] [PATCH 2/5] 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 <[email protected]> > --- > StandaloneMmPkg/Core/Dispatcher.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/StandaloneMmPkg/Core/Dispatcher.c > b/StandaloneMmPkg/Core/Dispatcher.c > index 2f795d01dc1f..c99e6c04c8de 100644 > --- a/StandaloneMmPkg/Core/Dispatcher.c > +++ b/StandaloneMmPkg/Core/Dispatcher.c > @@ -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); > > -- > 2.26.2 > > > -=-=-=-=-=-= > Groups.io Links: You receive all messages sent to this group. > > View/Reply Online (#61040): https://edk2.groups.io/g/devel/message/61040 > Mute This Topic: https://groups.io/mt/74792289/1772286 > Group Owner: [email protected] > Unsubscribe: https://edk2.groups.io/g/devel/unsub [[email protected]] > -=-=-=-=-=-=
-=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#61239): https://edk2.groups.io/g/devel/message/61239 Mute This Topic: https://groups.io/mt/74792289/21656 Group Owner: [email protected] Unsubscribe: https://edk2.groups.io/g/devel/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
