From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Jackson Subject: Re: [PATCH] tools/xl: Fix trim() following c/s e316316 "xl: Rewrite trim()" Date: Fri, 17 Jul 2015 11:04:04 +0100 Message-ID: <21928.54036.548493.844823@mariner.uk.xensource.com> References: <1437074311-25446-1-git-send-email-andrew.cooper3@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1437074311-25446-1-git-send-email-andrew.cooper3@citrix.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: Andrew Cooper Cc: Wei Liu , Ian Campbell , Xen-devel List-Id: xen-devel@lists.xenproject.org Andrew Cooper writes ("[PATCH] tools/xl: Fix trim() following c/s e316316 "xl: Rewrite trim()""): > c/s e316316 "xl: Rewrite trim()" uses the wrong indirection of > 'output', causing memory corruption for all callers. > > Introduce a new local variable, making the code more obviously > correct. Gah, thanks. Acked-by: Ian Jackson Committed-by: Ian Jackson Ian.