2017-08-24 18:28:55 +00:00
|
|
|
From 45e38084c55932c6039dfa1cb464ea12fd03488f Mon Sep 17 00:00:00 2001
|
2016-08-25 18:42:57 +00:00
|
|
|
From: Peter Jones <pjones@redhat.com>
|
|
|
|
Date: Tue, 14 Jun 2016 09:50:25 -0400
|
2017-08-24 18:10:08 +00:00
|
|
|
Subject: [PATCH 162/194] linuxefi: fix double free on verification failure.
|
2016-08-25 18:42:57 +00:00
|
|
|
|
|
|
|
Signed-off-by: Peter Jones <pjones@redhat.com>
|
|
|
|
---
|
|
|
|
grub-core/loader/i386/efi/linux.c | 1 -
|
|
|
|
1 file changed, 1 deletion(-)
|
|
|
|
|
|
|
|
diff --git a/grub-core/loader/i386/efi/linux.c b/grub-core/loader/i386/efi/linux.c
|
2017-06-16 19:31:32 +00:00
|
|
|
index 82f75b7f3..010bf982d 100644
|
2016-08-25 18:42:57 +00:00
|
|
|
--- a/grub-core/loader/i386/efi/linux.c
|
|
|
|
+++ b/grub-core/loader/i386/efi/linux.c
|
|
|
|
@@ -191,7 +191,6 @@ grub_cmd_linux (grub_command_t cmd __attribute__ ((unused)),
|
|
|
|
{
|
|
|
|
grub_error (GRUB_ERR_INVALID_COMMAND, N_("%s has invalid signature"),
|
|
|
|
argv[0]);
|
|
|
|
- grub_free (kernel);
|
|
|
|
goto fail;
|
|
|
|
}
|
|
|
|
|
|
|
|
--
|
2017-08-24 18:10:08 +00:00
|
|
|
2.13.5
|
2016-08-25 18:42:57 +00:00
|
|
|
|