From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] app/test: fix +/-1 error in allocation Date: Wed, 25 May 2016 10:35:48 +0200 Message-ID: <3269133.cDgyNE6xaP@xps13> References: <1462302927-24627-1-git-send-email-viktorin@rehivetech.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: David Marchand , dev@dpdk.org To: Jan Viktorin Return-path: Received: from mail-wm0-f46.google.com (mail-wm0-f46.google.com [74.125.82.46]) by dpdk.org (Postfix) with ESMTP id 47BD22C72 for ; Wed, 25 May 2016 10:35:51 +0200 (CEST) Received: by mail-wm0-f46.google.com with SMTP id n129so168921286wmn.1 for ; Wed, 25 May 2016 01:35:51 -0700 (PDT) In-Reply-To: List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 2016-05-04 10:15, David Marchand: > On Tue, May 3, 2016 at 9:15 PM, Jan Viktorin wrote: > > A bug has been detected by valgrind: [...] > > strlen(t->command) + strlen("#") + ONE_FOR_ZERO > > > > Fixes: 727909c59231 ("app/test: introduce dynamic commands list") > > > > Signed-off-by: Jan Viktorin > > Good catch. > Acked-by: David Marchand Applied, thanks