projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
581d921
)
xl: fix a typo in error string in create_domain
author
Wei Liu
<wei.liu2@citrix.com>
Tue, 14 Jul 2015 16:41:12 +0000
(17:41 +0100)
committer
Ian Campbell
<ian.campbell@citrix.com>
Wed, 15 Jul 2015 09:58:08 +0000
(10:58 +0100)
Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/libxl/xl_cmdimpl.c
patch
|
blob
|
history
diff --git
a/tools/libxl/xl_cmdimpl.c
b/tools/libxl/xl_cmdimpl.c
index 888f729fe4aca3f9a5829f39d8f115b630d9297f..8b4be72fe896bbeeed35b7f9965c455d818fefd4 100644
(file)
--- a/
tools/libxl/xl_cmdimpl.c
+++ b/
tools/libxl/xl_cmdimpl.c
@@
-2658,7
+2658,7
@@
static uint32_t create_domain(struct domain_create *dom_info)
}
if (!restoring && extra_config && strlen(extra_config)) {
if (config_len > INT_MAX - (strlen(extra_config) + 2 + 1)) {
- fprintf(stderr, "Failed to attach extra configration\n");
+ fprintf(stderr, "Failed to attach extra config
u
ration\n");
return ERROR_FAIL;
}
/* allocate space for the extra config plus two EOLs plus \0 */