|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] libxl: fix free of constant string in cdr
# HG changeset patch
# User Kamala Narasimhan <kamala.narasimhan@xxxxxxxxxx>
# Date 1295631847 0
# Node ID c342aa1476e8e28635d1b7db89a7a373303f0c65
# Parent ca64bd257a6fb0818bb0fa5e559c5220eafd80fa
libxl: fix free of constant string in cdrom insert path
Signed-off-by: Kamala Narasimhan <kamala.narasimhan@xxxxxxxxxx>
Acked-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
Signed-off-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
---
tools/libxl/libxl.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff -r ca64bd257a6f -r c342aa1476e8 tools/libxl/libxl.c
--- a/tools/libxl/libxl.c Fri Jan 21 16:04:59 2011 +0000
+++ b/tools/libxl/libxl.c Fri Jan 21 17:44:07 2011 +0000
@@ -1663,7 +1663,7 @@ int libxl_cdrom_insert(libxl_ctx *ctx, u
int ret = ERROR_FAIL;
if (!disk->physpath) {
- disk->physpath = "";
+ disk->physpath = strdup("");
disk->phystype = PHYSTYPE_PHY;
}
disks = libxl_device_disk_list(ctx, domid, &num);
_______________________________________________
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] libxl: fix free of constant string in cdrom insert path,
Xen patchbot-unstable <=
|
|
|
|
|