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

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