mirror of
https://github.com/tianocore/edk2
synced 2026-08-27 00:23:19 -04:00
StandaloneMmPkg: Fix possible infinite loop due invalid hob
The second call to CreateMmFoundationHobList () expects the address of the beginning of the platform hob list in the third parameter. However it has being given the beginning of the HobList which is PHIT. This causes later wrong address calculations which in turns puts MM core in infinite loop, because the IPL passed hob without EFI_HOB_TYPE_END_OF_HOB_LIST. Signed-off-by: Khalid Ali <khaliidcaliy@gmail.com>
This commit is contained in:
parent
b6c1c1afdc
commit
962c1f2a06
1 changed files with 1 additions and 1 deletions
|
|
@ -504,7 +504,7 @@ CreateMmHobList (
|
|||
Status = CreateMmFoundationHobList (
|
||||
(UINT8 *)HobList + PhitHobSize + PlatformHobSize,
|
||||
&FoundationHobSize,
|
||||
HobList,
|
||||
(UINT8 *)HobList + PhitHobSize,
|
||||
PlatformHobSize,
|
||||
MmFvBase,
|
||||
MmFvSize,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue