]> git.dujemihanovic.xyz Git - u-boot.git/commit
lib: efi_loader: Fix efi_dp_from_mem() calls
authorMoritz Fischer <moritzf@google.com>
Wed, 30 Oct 2024 21:17:48 +0000 (21:17 +0000)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Thu, 31 Oct 2024 05:05:39 +0000 (06:05 +0100)
commit7596d77bc1b6be838e38af3fb4e73dbd0a0a078e
treec486450d3a21ca449ff6d17f315e9e85a7c4711b
parentc8c10b83ef0a7a04ba40223c841f6f721d9a28a3
lib: efi_loader: Fix efi_dp_from_mem() calls

The function expects an end address but is being called with
an size instead.

Fixes: 6422820ac3 ("efi_loader: split unrelated code from efi_bootmgr.c")
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Signed-off-by: Moritz Fischer <moritzf@google.com>
Reviewed-by: Patrick Wildt <pwildt@google.com>
lib/efi_loader/efi_bootbin.c
lib/efi_loader/efi_device_path.c