From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Cooper Subject: Re: [PATCH 1/8] x86: add missing va_end to hypercall_xlat_continuation Date: Tue, 10 Sep 2013 15:41:40 +0100 Message-ID: <522F2FA4.1070609@citrix.com> References: <1378823662-20803-1-git-send-email-mattjd@gmail.com> <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 Cc: Keir Fraser , Jan Beulich , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On 10/09/13 15:34, Matthew Daley wrote: > Coverity-ID: 1056208 > Signed-off-by: Matthew Daley Reviewed-by: Andrew Cooper > --- > 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 )