Quentin Schulz
05b9665f09
boot: bootflow_menu: fix crash for EFI BOOTMGR global bootmeth
...
The global bootmeths don't set the dev in bootflow struct which means
the dev_get_parent(bflow->dev) triggers a NULL-pointer dereference and
crash U-Boot.
So before trying to handle a bootflow, check that the associated
bootmeth isn't global, otherwise skip it.
Suggested-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
2024-06-20 11:41:43 -06:00
..
2024-05-06 15:05:04 -06:00
2024-05-06 15:05:04 -06:00
2024-05-06 15:05:04 -06:00
2023-01-16 18:26:50 -05:00
2024-06-20 11:41:43 -06:00
2024-05-06 15:05:04 -06:00
2024-05-06 15:05:04 -06:00
2024-05-06 15:05:04 -06:00
2024-05-06 15:05:04 -06:00
2023-08-10 18:34:54 -06:00
2024-05-06 15:05:04 -06:00
2024-06-10 11:43:36 +02:00
2024-05-06 15:05:04 -06:00
2024-05-06 15:05:04 -06:00
2024-05-06 15:05:04 -06:00
2024-05-06 15:05:04 -06:00
2024-05-06 15:05:04 -06:00
2024-05-06 15:05:04 -06:00
2024-05-06 15:05:04 -06:00
2024-05-06 15:05:04 -06:00
2024-05-06 15:05:04 -06:00
2024-05-06 15:05:04 -06:00
2024-05-06 15:05:04 -06:00
2024-05-06 15:05:04 -06:00
2022-01-19 18:11:34 +01:00
2024-05-06 15:05:04 -06:00
2024-05-06 15:05:04 -06:00
2024-05-06 15:05:04 -06:00
2024-06-07 16:20:31 -06:00
2024-06-07 16:20:33 -06:00
2024-05-06 15:05:04 -06:00
2024-05-06 15:05:04 -06:00
2024-05-06 15:05:04 -06:00
2024-05-22 08:55:28 -06:00
2021-11-11 19:01:56 -05:00
2024-05-06 15:05:04 -06:00
2024-05-06 15:05:04 -06:00
2024-06-07 16:20:28 -06:00
2024-06-20 11:41:43 -06:00
2024-04-18 08:29:35 -06:00
2023-12-13 11:51:24 -05:00
2024-05-06 15:05:04 -06:00
2023-10-11 15:43:55 -04:00
2024-05-06 15:05:04 -06:00
2024-05-06 15:05:04 -06:00
2024-05-06 15:05:04 -06:00
2024-05-06 15:05:04 -06:00
2024-05-06 15:05:04 -06:00
2024-05-06 15:05:04 -06:00
2024-05-06 15:05:04 -06:00
2022-10-31 11:03:36 -04:00
2024-05-06 15:05:04 -06:00