Re: [dpdk-dev] [PATCH v6] drivers/net: fix possible overflow with strcat

2019-03-14 Thread Pattan, Reshma
> -Original Message- > From: Chaitanya Babu, TalluriX > Sent: Thursday, March 14, 2019 1:35 PM > To: dev@dpdk.org > Cc: Pattan, Reshma ; Parthasarathy, JananeeX M > ; rm...@marvell.com; > shsha...@marvell.com; Xing, Beilei ; Zhang, Qi Z > ; Chaitanya Babu, TalluriX > ; sta...@dpdk.org >

[dpdk-dev] [PATCH v6] drivers/net: fix possible overflow with strcat

2019-03-14 Thread Chaitanya Babu Talluri
strcat does not check the destination length and there might be chances of string overflow so instead of strcat, strlcat is used. Fixes: 540a211084 ("bnx2x: driver core") Fixes: e163c18a15 ("net/i40e: update ptype and pctype info") Cc: sta...@dpdk.org Signed-off-by: Chaitanya Babu Talluri --- v6