From 59541d758a1dba33218f1869ea5762fef0e53ae2 Mon Sep 17 00:00:00 2001 From: Erwan Velu Date: Thu, 6 May 2010 21:24:35 +0200 Subject: [PATCH] DMI: Increasing processor buffer size Impact: avoid string truncation The version field could be bigger than 32 char. --- com32/gplinclude/dmi/dmi_processor.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/com32/gplinclude/dmi/dmi_processor.h b/com32/gplinclude/dmi/dmi_processor.h index 63b8767..6107d31 100644 --- a/com32/gplinclude/dmi/dmi_processor.h +++ b/com32/gplinclude/dmi/dmi_processor.h @@ -19,7 +19,7 @@ #define PROCESSOR_TYPE_SIZE 32 #define PROCESSOR_FAMILY_SIZE 32 #define PROCESSOR_MANUFACTURER_SIZE 64 -#define PROCESSOR_VERSION_SIZE 32 +#define PROCESSOR_VERSION_SIZE 64 #define PROCESSOR_VOLTAGE_SIZE 16 #define PROCESSOR_STATUS_SIZE 16 #define PROCESSOR_UPGRADE_SIZE 16 -- 2.7.4