diff options
author | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | 2025-07-08 12:08:20 +0200 |
---|---|---|
committer | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | 2025-07-26 07:37:03 +0200 |
commit | aa703a816a62deb876a1e77ccff030a7cc60f344 (patch) | |
tree | 923f0ea91b63757d8b726504f7e1bde424badf05 /drivers/fpga/fpga.c | |
parent | b9bb2627bbb672a8dce58c7da5c0e48b921a6b29 (diff) |
efi_loader: efi_realloc() must check efi_alloc() return value
Avoid copying to NULL if out of memory.
Fixes: 3c08df58cc43 ("lib: efi_loader: efi_memory.c: add efi_realloc() for realloc memory")
Addresses-Coverity-ID: 569499: Null pointer dereferences (NULL_RETURNS)
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