From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keir Fraser Subject: Re: [PATCH 1/8] x86: add missing va_end to hypercall_xlat_continuation Date: Tue, 10 Sep 2013 08:02:32 -0700 Message-ID: References: <1378823662-20803-2-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-2-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: Matthew Daley , xen-devel@lists.xen.org Cc: Jan Beulich List-Id: xen-devel@lists.xenproject.org On 10/09/2013 07:34, "Matthew Daley" wrote: > Coverity-ID: 1056208 > Signed-off-by: Matthew Daley Acked-by: Keir Fraser > --- > 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 )