Re: [PATCH 2/3] bootstd: Probe bootmeth devices for bootmeths env var

2025-01-14 Thread Simon Glass
Hi Heinrich, Sam, On Mon, 13 Jan 2025 at 00:40, Heinrich Schuchardt wrote: > > On 1/12/25 04:42, Sam Protsenko wrote: > > Specifying efi_mgr in 'bootmeths' environment variable leads to NULL > > pointer dereference when 'bootflow scan' is executed, with call trace > > like this: > > > > priv

Re: [PATCH 2/3] bootstd: Probe bootmeth devices for bootmeths env var

2025-01-12 Thread Heinrich Schuchardt
On 1/12/25 04:42, Sam Protsenko wrote: Specifying efi_mgr in 'bootmeths' environment variable leads to NULL pointer dereference when 'bootflow scan' is executed, with call trace like this: priv->fake_dev // NULL pointer dereference .read_bootflow = efi_mgr_read_bootflow() bootmeth

[PATCH 2/3] bootstd: Probe bootmeth devices for bootmeths env var

2025-01-11 Thread Sam Protsenko
Specifying efi_mgr in 'bootmeths' environment variable leads to NULL pointer dereference when 'bootflow scan' is executed, with call trace like this: priv->fake_dev // NULL pointer dereference .read_bootflow = efi_mgr_read_bootflow() bootmeth_get_bootflow() bootflow_check() boo