[PATCH 0/3] bootstd: Fix efi_mgr usage in bootmeths env var

Sam Protsenko semen.protsenko at linaro.org
Sun Jan 12 04:42:10 CET 2025


Defining the 'bootmeths' environment variable with efi_mgr causes NULL
pointer dereference when running 'bootflow scan' on the E850-96 board.
This patch series fixes that, and cleans up the surrounding code a
little while at it.

Sam Protsenko (3):
  bootstd: Fix memleak on errors in bootmeth_setup_iter_order()
  bootstd: Probe bootmeth devices for bootmeths env var
  bootstd: Fix incorrect struct name in bootmeth_setup_iter_order()

 boot/bootmeth-uclass.c | 25 ++++++++++++++++++++-----
 1 file changed, 20 insertions(+), 5 deletions(-)

-- 
2.39.5



More information about the U-Boot mailing list