[PATCH 0/4] boot: fix crash in bootflow menu with EFI BOOTMGR support + typos
Tom Rini
trini at konsulko.com
Thu Jun 20 21:57:27 CEST 2024
On Wed, 12 Jun 2024 16:58:45 +0200, Quentin Schulz wrote:
> bootflow menu currently crashes U-Boot with a NULL pointer dereference
> because bootflow->dev is NULL for global bootmeths (such as EFI BOOTMGR).
> Therefore, let's check if the bootflow is associated with a global
> bootmeth before trying to make it part of the menu.
>
> While this makes U-Boot not crash anymore, bootflow menu doesn't work
> for me (I have never had a happy path with it, but I haven't actually
> tried it before today :) ) and this was basically just implemented
> following Simon's suggestion sent over IRC. No clue if this is enough or
> just a quick band-aid patch.
>
> [...]
Applied to u-boot/next, thanks!
--
Tom
More information about the U-Boot
mailing list