mbox series

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

Message ID 20250112034213.13153-1-semen.protsenko@linaro.org
Headers show
Series bootstd: Fix efi_mgr usage in bootmeths env var | expand

Message

Sam Protsenko Jan. 12, 2025, 3:42 a.m. UTC
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(-)