[prev in list] [next in list] [prev in thread] [next in thread]
List: xen-cvs
Subject: [Xen-changelog] [xen stable-4.7] x86/EFI: avoid overrunning mb_modules[]
From: patchbot () xen ! org
Date: 2017-03-31 18:11:22
Message-ID: E1cu118-0007kL-Lj () xenbits ! xenproject ! org
[Download RAW message or body]
commit 25f3d9531bfbcee908eed4a8bea17c8a2f38a3ce
Author: Jan Beulich <jbeulich@suse.com>
AuthorDate: Fri Mar 31 08:51:34 2017 +0200
Commit: Jan Beulich <jbeulich@suse.com>
CommitDate: Fri Mar 31 08:51:34 2017 +0200
x86/EFI: avoid overrunning mb_modules[]
Commit 436fb462ab ("x86/microcode: enable boot time (pre-Dom0)
loading") added a 4th module without providing an array slot for it.
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
master commit: 02b37b7eff39e40828041b2fe480725ab8443258
master date: 2017-03-17 15:45:22 +0100
---
xen/arch/x86/efi/efi-boot.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/xen/arch/x86/efi/efi-boot.h b/xen/arch/x86/efi/efi-boot.h
index 2ae4de1..97bb3a0 100644
--- a/xen/arch/x86/efi/efi-boot.h
+++ b/xen/arch/x86/efi/efi-boot.h
@@ -13,7 +13,7 @@ static struct file __initdata ucode;
static multiboot_info_t __initdata mbi = {
.flags = MBI_MODULES | MBI_LOADERNAME
};
-static module_t __initdata mb_modules[3];
+static module_t __initdata mb_modules[4];
static void __init edd_put_string(u8 *dst, size_t n, const char *src)
{
--
generated by git-patchbot for /home/xen/git/xen.git#stable-4.7
_______________________________________________
Xen-changelog mailing list
Xen-changelog@lists.xen.org
https://lists.xenproject.org/xen-changelog
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic