[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] [HVM] Be sure to nul terminate uuids in HVM SMBIOS tables.



# HG changeset patch
# User Steven Smith <ssmith@xxxxxxxxxxxxx>
# Node ID 31985f348d2e388d973500816899fde97c4dbeda
# Parent  d150a2178bd481a826421a772ebb80117a6091f9
[HVM] Be sure to nul terminate uuids in HVM SMBIOS tables.

Signed-off-by: Steven Smith <sos22@xxxxxxxxx>
---
 tools/firmware/hvmloader/util.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletion(-)

diff -r d150a2178bd4 -r 31985f348d2e tools/firmware/hvmloader/util.c
--- a/tools/firmware/hvmloader/util.c   Mon Nov 06 09:02:15 2006 +0000
+++ b/tools/firmware/hvmloader/util.c   Mon Nov 06 09:46:13 2006 +0000
@@ -227,4 +227,5 @@ uuid_to_string(char *dest, uint8_t *uuid
                byte_to_hex(p, uuid[i]);
                p += 2;
        }
-}
+       *p = 0;
+}

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.