From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ferruh Yigit Subject: Re: [PATCH v2] drivers: fix to replace strcat with strncat Date: Wed, 13 Feb 2019 11:54:54 +0000 Message-ID: <622bbd6f-bf39-83bb-b183-db3491c61194@intel.com> References: <1547445875-24601-1-git-send-email-tallurix.chaitanya.babu@intel.com> <1547825033-3595-1-git-send-email-tallurix.chaitanya.babu@intel.com> <7AE31235A30B41498D1C31348DC858BD5B5217F4@IRSMSX103.ger.corp.intel.com> <20190207132736.GA61876@bricha3-MOBL.ger.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: Bruce Richardson , "dev@dpdk.org" , "rmody@marvell.com" , "Pattan, Reshma" , "shshaikh@marvell.com" , "Xing, Beilei" , "Zhang, Qi Z" , "alejandro.lucero@netronome.com" , "De Lara Guarch, Pablo" , "Doherty, Declan" , "Chaitanya Babu, TalluriX" , "stable@dpdk.org" , Thomas Monjalon To: "Parthasarathy, JananeeX M" Return-path: In-Reply-To: <20190207132736.GA61876@bricha3-MOBL.ger.corp.intel.com> Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 2/7/2019 1:27 PM, Bruce Richardson wrote: > On Thu, Feb 07, 2019 at 11:56:30AM +0000, Ferruh Yigit wrote: >> On 1/21/2019 10:43 AM, Parthasarathy, JananeeX M wrote: >>> >>> >>>> -----Original Message----- >>>> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Chaitanya Babu Talluri >>>> Sent: Friday, January 18, 2019 8:54 PM >>>> To: dev@dpdk.org >>>> Cc: rmody@marvell.com; Pattan, Reshma ; >>>> shshaikh@marvell.com; Xing, Beilei ; Zhang, Qi Z >>>> ; alejandro.lucero@netronome.com; De Lara Guarch, >>>> Pablo ; Doherty, Declan >>>> ; Chaitanya Babu, TalluriX >>>> ; stable@dpdk.org >>>> Subject: [dpdk-dev] [PATCH v2] drivers: fix to replace strcat with strncat >>>> >>>> Strcat does not check the destination length and there might be chances of >>>> string overflow so insted of strcat, strncat is used. >>>> >>>> Fixes: 540a211084 ("bnx2x: driver core") >>>> Fixes: e163c18a15 ("net/i40e: update ptype and pctype info") >>>> Fixes: ef28aa96e5 ("net/nfp: support multiprocess") >>>> Fixes: 6f4eec2565 ("test/crypto: enhance scheduler unit tests") >>>> Cc: stable@dpdk.org >>>> >>>> Signed-off-by: Chaitanya Babu Talluri >> >> <...> >> >>> >>> Any Review Please!! >>> >> >> cc'ed Bruce & Thomas. >> >> What do you think getting strlcat() patch first and updating this patch to use >> strlcat()? >> >> Are we OK to get strlcat as the default API? >> > "strlcat" is just saner to use, so +1 for this approach. Hi Jananee, 'strlcat' support is merged into main repo now. Can you please send a new version of this patch to use 'strlcat'? Thanks, ferruh