From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f52.google.com (mail-wm0-f52.google.com [74.125.82.52]) by dpdk.org (Postfix) with ESMTP id 25314FE5 for ; Wed, 27 Apr 2016 17:01:10 +0200 (CEST) Received: by mail-wm0-f52.google.com with SMTP id e201so43022141wme.0 for ; Wed, 27 Apr 2016 08:01:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:organization:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=p5Ai+ngFSXNNiBdWNS9ORw3+H/6fZCW7m9texNJMo+I=; b=cYx4XADj1f7GmUIKT4G/phyDXWIfESbyJnaAn3cIh/JrefxDkP6VaQy9d4DDdYhWP9 FIdBnwBtRuhJs/W1QpL9K8sXntkMF8tdyDrrJr2Xs97S4SI5++UG9s7LmAfKh182YyiF 0CklQhcwyaiewt300g4xTl89eee71LscUn36Uob031gAiY1q/dmDAiqktva5yZem76Fq PG4tgWfefnj0wED9+NNGA0IViUdN8POXzmq84IIU7QPl6tEY9EKsyKnACs5L7k4byhvT abFtoVbfT01HZ1ediTAwzP6OboVH8ypNfrQAyqJs8y1l/gmPwQ1RGpB2W1AEGhOC7VGx YkJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding; bh=p5Ai+ngFSXNNiBdWNS9ORw3+H/6fZCW7m9texNJMo+I=; b=lUctI4USkUG0UBYJaCP176l3+0Er7t/57AAOz96KWHU0MNXf+1tb3RxefegDi8mxW3 wzqIJToEqVcJh9m99GiLMM6ot4ZP2jj2I3/M0W+SkxHV9g95Gz2+ahQoC1T009H75Z7C CZFxh5mmrT6YfcQ/8sKtak1/dcrOPiEMW4bSZjyuko0l5GkIsDCFdyPm8jFcLLYKm7SC yoIUdPpzMzjoI60o9RH2guaR4mHEuOrCH+MPWTmz++6XxnC6FTcdZDJHmsiKOzxdvPmS J/wjEEsQtB53208BEDpJ2qoWYsLLRxVRdTwY6LiBFTTHpeFmB4B/sHF1Vi4DQ0t29bWs comA== X-Gm-Message-State: AOPr4FWxHNQ3xZEz5G9HhnDq4hxWhr/wJpNLp3Q/9aqPpAq5WnuZkFsUr2pUk7zhS3r25Lyn X-Received: by 10.194.230.69 with SMTP id sw5mr9774556wjc.144.1461769268611; Wed, 27 Apr 2016 08:01:08 -0700 (PDT) Received: from xps13.localnet (51.111.75.86.rev.sfr.net. [86.75.111.51]) by smtp.gmail.com with ESMTPSA id hk7sm4524763wjb.5.2016.04.27.08.01.07 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 27 Apr 2016 08:01:07 -0700 (PDT) From: Thomas Monjalon To: Tomasz Kulasek Cc: dev@dpdk.org Date: Wed, 27 Apr 2016 17:01:06 +0200 Message-ID: <1866947.fZjuAlv0Tu@xps13> Organization: 6WIND User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <1460390628-4716-1-git-send-email-tomaszx.kulasek@intel.com> References: <1460390628-4716-1-git-send-email-tomaszx.kulasek@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] app/testpmd: fix strcat can overrun fixed-size string X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Apr 2016 15:01:10 -0000 2016-04-11 18:03, Tomasz Kulasek: > CID 13307 (#1 of 1): Copy into fixed size buffer (STRING_OVERFLOW) > fixed_size_dest: You might overrun the 128 byte fixed-size string fwd_modes > by copying fwd_eng->fwd_mode_name without checking the length. > > Fixes: 769ce6b17835 ("app/testpmd: list forwarding engines") > > Signed-off-by: Tomasz Kulasek Applied, thanks