From: Ian Campbell Subject: Re: [PATCH for-4.6] tools/xenstore: Correct use of va_end() after va_copy() Date: Thu, 13 Aug 2015 11:31:44 +0100 Message-ID: <1439461904.23981.69.camel@citrix.com> References: <1438955519-7071-1-git-send-email-andrew.cooper3@citrix.com> <20150813094514.GB22638@zion.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20150813094514.GB22638@zion.uk.xensource.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: Wei Liu , Andrew Cooper Cc: Ian Jackson , Xen-devel List-Id: xen-devel@lists.xenproject.org On Thu, 2015-08-13 at 10:45 +0100, Wei Liu wrote: > On Fri, Aug 07, 2015 at 02:51:59PM +0100, Andrew Cooper wrote: > > C requires that every use of va_copy() is matched with a va_end() call. > > > > This is especially important for x86_64 as va_{start,copy}() may need > > to > > allocate memory to generate a va_list containing parameters which were > > previously in registers. > > > > Signed-off-by: Andrew Cooper > > Release-acked-by: Wei Liu Applied, thanks.