Blame SOURCES/0226-linuxefi-fix-double-free-on-verification-failure.patch

28f7f8
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
27a4da
From: Peter Jones <pjones@redhat.com>
27a4da
Date: Tue, 14 Jun 2016 09:50:25 -0400
28f7f8
Subject: [PATCH] linuxefi: fix double free on verification failure.
27a4da
27a4da
Signed-off-by: Peter Jones <pjones@redhat.com>
27a4da
---
27a4da
 grub-core/loader/i386/efi/linux.c | 1 -
27a4da
 1 file changed, 1 deletion(-)
27a4da
27a4da
diff --git a/grub-core/loader/i386/efi/linux.c b/grub-core/loader/i386/efi/linux.c
28f7f8
index 82f75b7f3ab..010bf982d80 100644
27a4da
--- a/grub-core/loader/i386/efi/linux.c
27a4da
+++ b/grub-core/loader/i386/efi/linux.c
27a4da
@@ -191,7 +191,6 @@ grub_cmd_linux (grub_command_t cmd __attribute__ ((unused)),
27a4da
     {
27a4da
       grub_error (GRUB_ERR_INVALID_COMMAND, N_("%s has invalid signature"),
27a4da
 		  argv[0]);
27a4da
-      grub_free (kernel);
27a4da
       goto fail;
27a4da
     }
27a4da