[U-Boot] [PATCH 02/11] efi_loader: avoid NULL dereference in efi_dp_match

Simon Glass sjg at chromium.org
Mon Oct 9 04:48:43 UTC 2017


On 7 October 2017 at 22:57, Heinrich Schuchardt <xypron.glpk at gmx.de> wrote:
> 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 at gmx.de>
> ---
>  lib/efi_loader/efi_boottime.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list