aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErwan Velu <erwanaliasr1@gmail.com>2010-05-06 21:24:35 +0200
committerErwan Velu <erwanaliasr1@gmail.com>2010-05-06 21:24:35 +0200
commit59541d758a1dba33218f1869ea5762fef0e53ae2 (patch)
tree4d6e18d26875dadb3fa4b83cfdba2f078ce25880
parentd0a8cb5df51cdc4ba8ce5f3706db976fe016b733 (diff)
downloadsyslinux-59541d758a1dba33218f1869ea5762fef0e53ae2.tar.gz
syslinux-59541d758a1dba33218f1869ea5762fef0e53ae2.tar.xz
syslinux-59541d758a1dba33218f1869ea5762fef0e53ae2.zip
DMI: Increasing processor buffer size
Impact: avoid string truncation The version field could be bigger than 32 char.
-rw-r--r--com32/gplinclude/dmi/dmi_processor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/com32/gplinclude/dmi/dmi_processor.h b/com32/gplinclude/dmi/dmi_processor.h
index 63b8767f..6107d31d 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