]> git.dujemihanovic.xyz Git - u-boot.git/commit
efi_loader: out of memory in efi_add_memory_map_pg
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sun, 30 Jul 2023 10:36:17 +0000 (12:36 +0200)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Thu, 3 Aug 2023 07:21:02 +0000 (09:21 +0200)
commitba27563093f4398ebf38e1e505fe50a00a5e17e7
tree5dc7ee60299278f6b76ca6f4139fa63e053b63ae
parentb52a277f9b80cf4a3e7f5d534683afc40a8ef0fc
efi_loader: out of memory in efi_add_memory_map_pg

Handle out of memory situation in efi_add_memory_map_pg().

Fixes: 5d00995c361c ("efi_loader: Implement memory allocation and map")
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
lib/efi_loader/efi_memory.c