sd-boot: don't dereference NULL ptr if loaded_image_path is NULL
authorLennart Poettering <lennart@poettering.net>
Fri, 8 Feb 2019 12:03:26 +0000 (13:03 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 1 Mar 2019 11:41:32 +0000 (12:41 +0100)
commit17ad0f0f4b1cbe3ab9a47b61fec1cc9b0c05fb94
treee9b28529206515469e2855084b39c60cd80f637a
parentc8ad5996b0c209511365f03ec82a1812c444f414
sd-boot: don't dereference NULL ptr if loaded_image_path is NULL

In a follow-up commit we'd like to invoke config_entry_add_from_file()
on partitions that are not the ESP, let's prepare fpr that and allow
loaded_image_path to be passed as NULL.
src/boot/efi/boot.c