summaryrefslogtreecommitdiff
path: root/lib/efi_loader/efi_device_path.c
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2017-10-08 06:57:26 +0200
committerAlexander Graf <agraf@suse.de>2017-10-09 07:00:37 +0200
commit1a2c8d2f609237664fcda944c251ce693e4366f5 (patch)
tree4e252a649026f1f5b987579902cc4f9fc8bd466f /lib/efi_loader/efi_device_path.c
parent7f8ec5b63e5a8774bfcadafbc0d9583686b00455 (diff)
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>
Diffstat (limited to 'lib/efi_loader/efi_device_path.c')
0 files changed, 0 insertions, 0 deletions