Re: [PATCH v2 1/1] efi_loader: segfault in efi_clear_os_indications()

2021-11-25 Thread Ilias Apalodimas
On Wed, 24 Nov 2021 at 09:54, Heinrich Schuchardt wrote: > > If we call efi_clear_os_indications() before initializing the memory store > for UEFI variables a NULL pointer dereference occurs. > > The error was observed on the sandbox with: > > usb start > host bind 0 sandbox.img >

[PATCH v2 1/1] efi_loader: segfault in efi_clear_os_indications()

2021-11-23 Thread Heinrich Schuchardt
If we call efi_clear_os_indications() before initializing the memory store for UEFI variables a NULL pointer dereference occurs. The error was observed on the sandbox with: usb start host bind 0 sandbox.img load host 0:1 $kernel_addr_r helloworld.efi bootefi $kernel_addr_r Here