WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] [HVMLOADER] Fix SMBIOS table code. One of

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] [HVMLOADER] Fix SMBIOS table code. One of the string lengths is incorrectly computed.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 04 Oct 2006 11:20:28 +0000
Delivery-date: Wed, 04 Oct 2006 04:20:40 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] [HVMLOADER] Fix SMBIOS table code. One of the string lengths is incorrectly computed., Xen patchbot-unstable <=