mirror of https://github.com/acidanthera/audk.git
UefiPayloadEntry's AllocatePool() applies the "sizeof" operator to HOB index rather than the HOB header structure. This yields 4 Bytes compared to the 8 Bytes the structure header requires. Fix the call to allocate the required space instead. Reviewed-by: Guo Dong <guo.dong@intel.com> Reviewed-by: Ray Ni <ray.ni@intel.com> Cc: Maurice Ma <maurice.ma@intel.com> Cc: Benjamin You <benjamin.you@intel.com> Cc: Vitaly Cheptsov <vit9696@protonmail.com> Signed-off-by: Marvin H?user <mhaeuser@posteo.de> |
||
---|---|---|
.. | ||
BlSupportDxe | ||
GraphicsOutputDxe | ||
Include | ||
Library | ||
PayloadLoaderPeim | ||
UefiPayloadEntry | ||
BuildAndIntegrationInstructions.txt | ||
UefiPayloadPkg.dec | ||
UefiPayloadPkg.dsc | ||
UefiPayloadPkg.fdf |