projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac2f555
)
x86: add missing va_end to hypercall_xlat_continuation
author
Matthew Daley
<mattjd@gmail.com>
Tue, 10 Sep 2013 15:15:35 +0000
(17:15 +0200)
committer
Jan Beulich
<jbeulich@suse.com>
Tue, 10 Sep 2013 15:15:35 +0000
(17:15 +0200)
Coverity-ID:
1056208
Signed-off-by: Matthew Daley <mattjd@gmail.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Keir Fraser <keir@xen.org>
xen/arch/x86/domain.c
patch
|
blob
|
history
diff --git
a/xen/arch/x86/domain.c
b/xen/arch/x86/domain.c
index f7b0308e24bab49a5e947dfe45bfd4c21be4f029..316ef0452e620817335915870a3c230e1e4173a7 100644
(file)
--- a/
xen/arch/x86/domain.c
+++ b/
xen/arch/x86/domain.c
@@
-1648,7
+1648,11
@@
int hypercall_xlat_continuation(unsigned int *id, unsigned int mask, ...)
if ( test_bit(_MCSF_in_multicall, &mcs->flags) )
{
if ( !test_bit(_MCSF_call_preempted, &mcs->flags) )
+ {
+ va_end(args);
return 0;
+ }
+
for ( i = 0; i < 6; ++i, mask >>= 1 )
{
if ( mask & 1 )