audk/UefiPayloadPkg
Marvin H?user cdda3f74a1 UefiPayloadPkg/UefiPayloadEntry: Fix memory corruption
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>
2021-09-01 04:13:50 +00:00
..
BlSupportDxe UefiPayloadPkg: Remove assert when reserve MMIO/IO resource for devices 2021-06-24 09:16:22 +00:00
GraphicsOutputDxe UefiPayloadPkg: Enhance UEFI payload for coreboot and Slim Bootloader 2019-04-15 12:30:05 -07:00
Include UefiPayloadPkg: Add new structure for BootManagerMenuFile HOB 2021-06-24 09:16:22 +00:00
Library UefiPayloadPkg: Fix the build error when enable Core ci for UefiPayloadPkg 2021-09-01 03:14:43 +00:00
PayloadLoaderPeim UefiPayloadPkg: Assign the length of UniversalPayload ExtraData 2021-07-13 08:18:35 +00:00
UefiPayloadEntry UefiPayloadPkg/UefiPayloadEntry: Fix memory corruption 2021-09-01 04:13:50 +00:00
BuildAndIntegrationInstructions.txt UefiPayloadPkg: Remove PEI phase from Payload 2020-12-02 23:10:22 +00:00
UefiPayloadPkg.dec UefiPayloadPkg: Add new structure for BootManagerMenuFile HOB 2021-06-24 09:16:22 +00:00
UefiPayloadPkg.dsc UefiPayloadPkg: Fix the build error when enable Core ci for UefiPayloadPkg 2021-09-01 03:14:43 +00:00
UefiPayloadPkg.fdf UefiPayloadPkg: Fix the build error when enable Core ci for UefiPayloadPkg 2021-09-01 03:14:43 +00:00