DMI: Increasing processor buffer size
authorErwan Velu <erwanaliasr1@gmail.com>
Thu, 6 May 2010 19:24:35 +0000 (21:24 +0200)
committerErwan Velu <erwanaliasr1@gmail.com>
Thu, 6 May 2010 19:24:35 +0000 (21:24 +0200)
Impact: avoid string truncation

The version field could be bigger than 32 char.

com32/gplinclude/dmi/dmi_processor.h

index 63b8767..6107d31 100644 (file)
@@ -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