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: Thu, 7 Feb 2019 11:56:30 +0000 Message-ID: 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> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit 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" , Bruce Richardson , Thomas Monjalon To: "Parthasarathy, JananeeX M" , "dev@dpdk.org" Return-path: In-Reply-To: <7AE31235A30B41498D1C31348DC858BD5B5217F4@IRSMSX103.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 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? Thanks, ferruh