From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [dpdk-stable] [PATCH v3] app/procinfo: fix strncpy count issue Date: Wed, 28 Mar 2018 00:25:06 +0200 Message-ID: <12813300.ZrgtnWTeZL@xps> References: <1519131621-10053-1-git-send-email-radu.nicolau@intel.com> <1519134742-22648-1-git-send-email-radu.nicolau@intel.com> <20180220141602.GA14804@bricha3-MOBL3.ger.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: stable@dpdk.org, Bruce Richardson , dev@dpdk.org, john.mcnamara@intel.com, maryam.tahhan@intel.com, reshma.pattan@intel.com To: Radu Nicolau Return-path: In-Reply-To: <20180220141602.GA14804@bricha3-MOBL3.ger.corp.intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 20/02/2018 15:16, Bruce Richardson: > On Tue, Feb 20, 2018 at 01:52:22PM +0000, Radu Nicolau wrote: > > Replace strncpy with snprintf to avoid overwriting the last > > NULL character. > > > > Fixes: 2deb6b5246d7 ("app/procinfo: add collectd format and host id") > > Coverity issue: 143252 > > > > Cc: stable@dpdk.org > > > > Signed-off-by: Radu Nicolau > > --- > Acked-by: Bruce Richardson Applied, thanks