]> git.dujemihanovic.xyz Git - u-boot.git/commit
efi_loader: out of memory in efi_mem_carve_out
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sun, 30 Jul 2023 10:27:03 +0000 (12:27 +0200)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Thu, 3 Aug 2023 07:21:02 +0000 (09:21 +0200)
commit257a498fbb146f866d729176a6fce5875323d4b9
tree20401b3a4cb61e02d27abda3cb6534d113927a18
parent48d183f2acb0157856254f52d2d856a07463acd4
efi_loader: out of memory in efi_mem_carve_out

Handle out of memory situation in efi_mem_carve_out().

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