On Wed, Apr 17, 2019 at 07:12:56AM +0200, Heinrich Schuchardt wrote: > The UEFI specification allows LoadImage() to be called with a memory > location only and without a device path. In this case FilePath will not be > set in the EFI_LOADED_IMAGE_PROTOCOL. > > So in function grub_efi_get_filename() the device path argument may be > NULL. As we cannot determine the device path in this case just return NULL > from the function. > > Signed-off-by: Heinrich Schuchardt <xypron.g...@gmx.de> > Reviewed-by: Leif Lindholm <leif.lindh...@linaro.org>
Reviewed-by: Daniel Kiper <daniel.ki...@oracle.com> Daniel _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel