mirror of
https://github.com/utmapp/edk2.git
synced 2026-12-01 22:13:30 -10:00
CoreInitializeMemoryServices was not checking for any existing memory allocation created in the HOB producer phase. If there are memory allocations outside of the region covered by the HOB List then Gcd could select that region for memory which can result in the memory allocation to not be handled and memory overwrites. Signed-off-by: Jeff Brasen <[email protected]> Reviewed-by: Liming Gao <[email protected]> Regression-tested-by: Laszlo Ersek <[email protected]>