Re: [dpdk-dev] [PATCH 1/4] net/softnic: fix string copy

2018-10-31 Thread Thomas Monjalon
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.dumitre...@intel.com > CC: jasvinder.si...@intel.com > > S

[dpdk-dev] [PATCH 1/4] net/softnic: fix string copy

2018-10-30 Thread 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.dumitre...@intel.com CC: jasvinder.si...@intel.com Signed-off-by: Reshma Pattan --- drivers/net/softnic/rte_eth_softn