[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] [HVMLOADER] Fix SMBIOS table code. One of the string lengths is incorrectly computed.
# HG changeset patch # User kaf24@xxxxxxxxxxxxxxxxxxxx # Node ID 7a7e8cf9a4f9e91c643396447e8eb59dad3c9ea3 # Parent 74855cdc4a1d9d745b6a5ec5eb033221d53cb593 [HVMLOADER] Fix SMBIOS table code. One of the string lengths is incorrectly computed. Signed-off-by: Daniel P. Berrange <berrange@xxxxxxxxxx> --- tools/firmware/hvmloader/smbios.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -r 74855cdc4a1d -r 7a7e8cf9a4f9 tools/firmware/hvmloader/smbios.c --- a/tools/firmware/hvmloader/smbios.c Wed Oct 04 09:10:17 2006 +0100 +++ b/tools/firmware/hvmloader/smbios.c Wed Oct 04 09:32:01 2006 +0100 @@ -434,7 +434,7 @@ smbios_type_4_init(void *start, unsigned start += strlen(buf) + 1; strcpy((char *)start, cpu_manufacturer); - start += strlen(buf) + 1; + start += strlen(cpu_manufacturer) + 1; *((uint8_t *)start) = 0; return start+1; _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |