On 2/18/20 11:08 AM, Michael Chang wrote:
> The necessary check for null before use of function ver->close is not
> taking place in the failure path. This patch simply adds the missing
> check and fixes the problem that grub hangs indefinitely after booting
> rogue image without valid signature if secure boot turned on.
> 
> Now it displays like this for booting rogue uefi image.
> 
> error: bad shim signature
> error: you need to load the kernel first
> 
> Press any key to continue...
> 
> and then you can go back to boot menu by pressing any key or after a few
> seconds expired.
> 
> Signed-off-by: Michael Chang <mch...@suse.com>
> ---

Reviewed-by: Javier Martinez Canillas <javi...@redhat.com>

Best regards,
Javier


_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to