diff options
| author | Vincent Stehlé <[email protected]> | 2026-02-03 13:59:41 +0100 |
|---|---|---|
| committer | Heinrich Schuchardt <[email protected]> | 2026-02-06 09:57:00 +0100 |
| commit | e94d0bd82761b7b41bc061368a11684f19130954 (patch) | |
| tree | dfa3f5c7ebacf4a484e6c2329eea1130553e0cd1 /doc/develop | |
| parent | 32b835ccf3db8ae393c1ff27a9a367f7b6edd78f (diff) | |
efi_loader: fix efi_debug_image_info_normal allocation
When adding a new EFI Debug Image Info entry, we allocate memory for a new
EFI Debug Image Info Normal structure and we add a new entry into the EFI
Debug Image Info Table, which is in fact just a pointer to the allocated
structure.
However, when allocating memory for the new structure we allocate memory
for the wrong type, leading to allocating memory for just a pointer instead
of the desired structure.
Fix the type used during allocation.
Fixes: 146546138af5 ("efi: add EFI_DEBUG_IMAGE_INFO for debug")
Signed-off-by: Vincent Stehlé <[email protected]>
Cc: Heinrich Schuchardt <[email protected]>
Cc: Ilias Apalodimas <[email protected]>
Cc: Tom Rini <[email protected]>
Cc: Ying-Chun Liu (PaulLiu) <[email protected]>
Reviewed-by: Heinrich Schuchardt <[email protected]>
Diffstat (limited to 'doc/develop')
0 files changed, 0 insertions, 0 deletions
