mirror of
https://git.proxmox.com/git/efi-boot-shim
synced 2025-06-15 12:49:03 +00:00
Fix incorrect allocation size for EV_EFI_BOOT_SERVICES_APPLICATION events
sizeof(EFI_IMAGE_LOAD_EVENT) needs to represent the size of the header so we can add the actual device path size to it to compute the event. Signed-off-by: Peter Jones <pjones@redhat.com>
This commit is contained in:
parent
64a18c4ea6
commit
5ec906ac6c
@ -45,7 +45,7 @@ typedef struct _EFI_IMAGE_LOAD_EVENT {
|
|||||||
UINTN ImageLengthInMemory;
|
UINTN ImageLengthInMemory;
|
||||||
UINTN ImageLinkTimeAddress;
|
UINTN ImageLinkTimeAddress;
|
||||||
UINTN LengthOfDevicePath;
|
UINTN LengthOfDevicePath;
|
||||||
EFI_DEVICE_PATH DevicePath[1];
|
EFI_DEVICE_PATH DevicePath[0];
|
||||||
} EFI_IMAGE_LOAD_EVENT;
|
} EFI_IMAGE_LOAD_EVENT;
|
||||||
|
|
||||||
struct efi_tpm_protocol
|
struct efi_tpm_protocol
|
||||||
|
Loading…
Reference in New Issue
Block a user