[syslinux:master] DMI: Increasing processor buffer size
syslinux-bot for Erwan Velu
erwanaliasr1 at gmail.com
Tue May 11 13:03:16 PDT 2010
Commit-ID: 59541d758a1dba33218f1869ea5762fef0e53ae2
Gitweb: http://syslinux.zytor.com/commit/59541d758a1dba33218f1869ea5762fef0e53ae2
Author: Erwan Velu <erwanaliasr1 at gmail.com>
AuthorDate: Thu, 6 May 2010 21:24:35 +0200
Committer: Erwan Velu <erwanaliasr1 at gmail.com>
CommitDate: Thu, 6 May 2010 21:24:35 +0200
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 files changed, 1 insertions(+), 1 deletions(-)
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
More information about the Syslinux-commits
mailing list