projects
/
profile
/
ivi
/
syslinux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d0a8cb5
)
DMI: Increasing processor buffer size
author
Erwan Velu
<erwanaliasr1@gmail.com>
Thu, 6 May 2010 19:24:35 +0000
(21:24 +0200)
committer
Erwan 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
patch
|
blob
|
history
diff --git
a/com32/gplinclude/dmi/dmi_processor.h
b/com32/gplinclude/dmi/dmi_processor.h
index
63b8767
..
6107d31
100644
(file)
--- 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