From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) by dpdk.org (Postfix) with ESMTP id C9C0B5F32; Wed, 28 Mar 2018 00:25:22 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 5FD5D20EDA; Tue, 27 Mar 2018 18:25:22 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Tue, 27 Mar 2018 18:25:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=mesmtp; bh=kumxuOzJW41G8rHbB/OlwQQyu7 nA+GjjTDvssjDnuS8=; b=W8pisdJi4u6AkfW3jqZQliRzQOVtpwDYorMBER3b3E rq4c7Ol13L9K5syanKcntOXg7/uHXjqeYUQWNdRABNBEnbrzOFsMfZ/A1+82YJ+b u9Wqt8A03cu5Klq1+bzyj58oeQgW0y9BIxv1CfuffC/lKlzzet2R+xvo7qnDb/8l s= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=kumxuO zJW41G8rHbB/OlwQQyu7nA+GjjTDvssjDnuS8=; b=MefL66yZPOol8qT9R1456q TO6Ut4Y8YS52DQ/thbDqhUQbU8kKDhrsmQtII7OYsbp0XwO/TykdIvm7t5xnQaOT yFWBubsjTY02ZXh/2PWI7fqiA5blTc7JklEeeqAUb+qdzF2PrWXe2wNhX5BvXl3m 8gWYsEcTqcgwEBsYe5/bOw3zsS88+96JZlCpP8sS+3yhdlUE71yuptrjSwPrATpd wRpt2dCoj1kUyjW7SaYhU/kwNue2otHFqYv/+X/LwQIMWqZtI/7vTUPpL23ga6u7 OKQgr8jaR5jnApvGKDZ9eI766Dbu23LhceUh8b6ZoSQDs1AKLYKoCYLuIgkHmfUA == X-ME-Sender: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 62DA61026E; Tue, 27 Mar 2018 18:25:21 -0400 (EDT) From: Thomas Monjalon To: Radu Nicolau Cc: stable@dpdk.org, Bruce Richardson , dev@dpdk.org, john.mcnamara@intel.com, maryam.tahhan@intel.com, reshma.pattan@intel.com Date: Wed, 28 Mar 2018 00:25:06 +0200 Message-ID: <12813300.ZrgtnWTeZL@xps> In-Reply-To: <20180220141602.GA14804@bricha3-MOBL3.ger.corp.intel.com> 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-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-stable] [PATCH v3] app/procinfo: fix strncpy count issue X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Mar 2018 22:25:23 -0000 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