File 0275-x86-cpu-increase-model_id-array-siz.patch of Package qemu.19799

From: Bruce Rogers <brogers@suse.com>
Date: Fri, 9 Mar 2018 05:27:44 -0700
Subject: x86: cpu: increase model_id array size from 48 to 49

This is perhaps the easiest way to handle the longer model names
introduced with the -IBRS models. This is in lew of backporting
commit 807e9869b8c4119b81df902625af818519e01759 and other commits
which that would require.
[BR: BSC#1068032 CVE-2017-5715]
Signed-off-by: Bruce Rogers <brogers@suse.com>
---
 target-i386/cpu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target-i386/cpu.c b/target-i386/cpu.c
index ee67091fe82d6142a558c28fdb1b..6e7e4e76967f99441011109fb58c 100644
--- a/target-i386/cpu.c
+++ b/target-i386/cpu.c
@@ -689,7 +689,7 @@ struct X86CPUDefinition {
     int model;
     int stepping;
     FeatureWordArray features;
-    char model_id[48];
+    char model_id[49];
 };
 
 static X86CPUDefinition builtin_x86_defs[] = {
openSUSE Build Service is sponsored by