Re: [PATCH 0/4] boot: fix crash in bootflow menu with EFI BOOTMGR support + typos

2024-06-20 Thread Tom Rini
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 tryi

[PATCH 0/4] boot: fix crash in bootflow menu with EFI BOOTMGR support + typos

2024-06-12 Thread Quentin Schulz
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