[HVM] Be sure to nul terminate uuids in HVM SMBIOS tables.
authorSteven Smith <ssmith@xensource.com>
Mon, 6 Nov 2006 09:46:13 +0000 (09:46 +0000)
committerSteven Smith <ssmith@xensource.com>
Mon, 6 Nov 2006 09:46:13 +0000 (09:46 +0000)
Signed-off-by: Steven Smith <sos22@cam.ac.uk>
tools/firmware/hvmloader/util.c

index a03c0b621d63da88bf0a847f7257079ac7df2127..85cbcbe82fff8d7808852ae55b385e78b27ae020 100644 (file)
@@ -227,4 +227,5 @@ uuid_to_string(char *dest, uint8_t *uuid)
                byte_to_hex(p, uuid[i]);
                p += 2;
        }
+       *p = 0;
 }