commit | 8cb12542d4185e49d4f7819949253752b12a64e8 | [log] [tgz] |
---|---|---|
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | Sun Oct 08 06:57:26 2017 +0200 |
committer | Alexander Graf <agraf@suse.de> | Mon Oct 09 07:00:37 2017 +0200 |
tree | 4e252a649026f1f5b987579902cc4f9fc8bd466f | |
parent | c43fa8cd5cedec850c1e60f06779a861e8aadb80 [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>