diff options
| author | Heinrich Schuchardt <[email protected]> | 2017-10-08 06:57:26 +0200 |
|---|---|---|
| committer | Alexander Graf <[email protected]> | 2017-10-09 07:00:37 +0200 |
| commit | 1a2c8d2f609237664fcda944c251ce693e4366f5 (patch) | |
| tree | 4e252a649026f1f5b987579902cc4f9fc8bd466f /include/linux/string.h | |
| parent | 7f8ec5b63e5a8774bfcadafbc0d9583686b00455 (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 <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Signed-off-by: Alexander Graf <[email protected]>
Diffstat (limited to 'include/linux/string.h')
0 files changed, 0 insertions, 0 deletions
