From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v2] drivers: fix to replace strcat with strncat Date: Thu, 07 Feb 2019 13:08:00 +0100 Message-ID: <17028779.ipLFek0gqz@xps> References: <1547445875-24601-1-git-send-email-tallurix.chaitanya.babu@intel.com> <7AE31235A30B41498D1C31348DC858BD5B5217F4@IRSMSX103.ger.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: "Parthasarathy, JananeeX M" , "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" , Bruce Richardson To: Ferruh Yigit Return-path: In-Reply-To: List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 07/02/2019 12:56, Ferruh Yigit: > 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? No problem