From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id 1155291 for ; Wed, 31 Oct 2018 10:47:22 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 925FA2202C; Wed, 31 Oct 2018 05:47:21 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Wed, 31 Oct 2018 05:47:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=mesmtp; bh=vGwfaE08y3PtGsp+pE900+5DsKmBT7gIKrNbmeCiXmg=; b=gXm/icysrFuX YZXGEREQmURKnRWmULM+Xh/E8i8e4YyqyRBNVZ2BIMhs4u57jOw4UnJIFVKrGri6 pU4X55U7jQVojtNMYC6q1dhkIXkXA4AODw418lP7VM0mCm1Lsueg/D9BJDpK+EVq stV4SuYOYXKEUklvkuoivp7wQ2Cdt+E= 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-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=vGwfaE08y3PtGsp+pE900+5DsKmBT7gIKrNbmeCiX mg=; b=rQdyrrniA+jPdocg2wnNSy21F37u47o8fB0PfYXQhYRPJr5AM/HvCAhdU /h+H5ky6luR4oy8chgEjqiR+bVT2qs2uQ51lTXAKoJV27qfFpPp8xl9/zre8aHk0 0IFCa7iK8Eprz2lV9Whz15ekwypmmyb8rHV4O+6DBvve/vmvQSVe1fiDDEeQu+vW e0swJUQ52+zocOMlDerAozktEX3MBpsY/CRfIq7/LvoTWHq1uHkYY3oZgSGvPryD bX/z74EadQ0c+n1h1pfui/SnixnNOYuyVJ0HA0ymPxiYwER51kAv7Pav4SRXwPs/ 0ka+eH6B/Uqsr8FeWuJ9K+2WXAPTg== X-ME-Sender: X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 6DC03102EA; Wed, 31 Oct 2018 05:47:20 -0400 (EDT) From: Thomas Monjalon To: Reshma Pattan Cc: dev@dpdk.org, cristian.dumitrescu@intel.com, jasvinder.singh@intel.com Date: Wed, 31 Oct 2018 10:47:26 +0100 Message-ID: <2527282.i675j0GvDI@xps> In-Reply-To: <1540909372-23110-1-git-send-email-reshma.pattan@intel.com> References: <1540909372-23110-1-git-send-email-reshma.pattan@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH 1/4] net/softnic: fix string copy X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Oct 2018 09:47:22 -0000 Hi Reshma, 30/10/2018 15:22, Reshma Pattan: > From: Reshma Pattan > > Use strlcpy instead of strcpy to avoid buffer overrun. > > Coverity issue: 323514 > > Fixes: b767f8efc8 ("net/softnic: replace pointers with arrays") > CC: cristian.dumitrescu@intel.com > CC: jasvinder.singh@intel.com > > Signed-off-by: Reshma Pattan The 4 patches in this series have the same title, same explanation and same root cause. Only the coverity ID is changing. In this case, you can merge all patches together and reference all coverity ids on the same line with commas.