From 3b624f3025f56ccf9cad21bf86793b07ae8f93e5 Mon Sep 17 00:00:00 2001 From: Dr-Noob Date: Tue, 5 Jan 2021 17:36:22 +0100 Subject: [PATCH] [X86] Fix bug where unknown hypervisor caused a segfault. This should solve issue #38 --- src/x86/cpuid.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/x86/cpuid.c b/src/x86/cpuid.c index f6286a1..fc3fde5 100755 --- a/src/x86/cpuid.c +++ b/src/x86/cpuid.c @@ -27,7 +27,6 @@ static const char *hv_vendors_string[] = { [HV_VENDOR_VMWARE] = "VMwareVMware", [HV_VENDOR_XEN] = "XenVMMXenVMM", [HV_VENDOR_PARALLELS] = "lrpepyh vr", - [HV_VENDOR_INVALID] = NULL }; static char *hv_vendors_name[] = {