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

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