Heinrich Schuchardt 1a2c8d2f60 efi_loader: avoid NULL dereference in efi_dp_match
When calling bootefi hello twice a kernel dump occurs.

Neither bootefi hello nor bootefi selftest have an image
device patch. So do not try to dereference the NULL
value.

Fixes: 95c5553ea26 efi_loader: refactor boot device and loaded_image handling
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Alexander Graf <agraf@suse.de>
2017-10-09 07:00:37 +02:00
..
2017-09-20 11:08:01 +02:00
2017-08-11 13:49:23 +02:00
2017-09-20 11:00:57 +02:00
2017-09-20 11:10:42 +02:00
2016-11-14 23:24:04 +01:00
2017-09-20 11:08:01 +02:00