diff options
author | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | 2025-07-08 13:14:35 +0200 |
---|---|---|
committer | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | 2025-07-26 07:37:03 +0200 |
commit | 7e2506e3a247c787a9ad4b4db00bc8e6a348df90 (patch) | |
tree | 3e3d34e5c3c8bfb5222e5f32a95a19191375bffc /drivers/fpga/fpga.c | |
parent | aa703a816a62deb876a1e77ccff030a7cc60f344 (diff) |
efi_loader: correct EFI_DEBUG_TABLE_ENTRY_SIZE
With the current code we allocate to little memory when adding entries to
the EFI_DEBUG_INFO_TABLE and we fail to correctly move entries when an
entry is removed.
EFI_DEBUG_TABLE_ENTRY_SIZE must be the size of an entry in the
EFI_DEBUG_INFO_TABLE, not the size of a pointer.
Fixes: 146546138af5 ("efi: add EFI_DEBUG_IMAGE_INFO for debug")
Addresses-Coverity-ID: CID 569498: Code maintainability issues (SIZEOF_MISMATCH)
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Diffstat (limited to 'drivers/fpga/fpga.c')
0 files changed, 0 insertions, 0 deletions