From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthew Daley Subject: [PATCH 1/8] x86: add missing va_end to hypercall_xlat_continuation Date: Wed, 11 Sep 2013 02:34:15 +1200 Message-ID: <1378823662-20803-2-git-send-email-mattjd@gmail.com> References: <1378823662-20803-1-git-send-email-mattjd@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1378823662-20803-1-git-send-email-mattjd@gmail.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xen.org Cc: Matthew Daley , Keir Fraser , Jan Beulich List-Id: xen-devel@lists.xenproject.org Coverity-ID: 1056208 Signed-off-by: Matthew Daley --- xen/arch/x86/domain.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/xen/arch/x86/domain.c b/xen/arch/x86/domain.c index f7b0308..316ef04 100644 --- 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 ) -- 1.7.10.4