direct-io.hg

changeset 12245:31985f348d2e

[HVM] Be sure to nul terminate uuids in HVM SMBIOS tables.

Signed-off-by: Steven Smith <sos22@cam.ac.uk>
author Steven Smith <ssmith@xensource.com>
date Mon Nov 06 09:46:13 2006 +0000 (2006-11-06)
parents d150a2178bd4
children e793dad2114d
files tools/firmware/hvmloader/util.c
line diff
     1.1 --- a/tools/firmware/hvmloader/util.c	Mon Nov 06 09:02:15 2006 +0000
     1.2 +++ b/tools/firmware/hvmloader/util.c	Mon Nov 06 09:46:13 2006 +0000
     1.3 @@ -227,4 +227,5 @@ uuid_to_string(char *dest, uint8_t *uuid
     1.4  		byte_to_hex(p, uuid[i]);
     1.5  		p += 2;
     1.6  	}
     1.7 +	*p = 0;
     1.8  }