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

2018-11-02 Thread Dumitrescu, Cristian
> -Original Message- > From: Pattan, Reshma > Sent: Wednesday, October 31, 2018 10:17 AM > To: dev@dpdk.org > Cc: Dumitrescu, Cristian ; Singh, Jasvinder > ; Pattan, Reshma > Subject: [PATCH v2] net/softnic: fix string copy > > Use strlcpy instead of strcpy to avoid buffer overrun. >

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

2018-10-31 Thread Reshma Pattan
Use strlcpy instead of strcpy to avoid buffer overrun. Coverity issues: 323475,323478,323514,323515 Fixes: b767f8efc8 ("net/softnic: replace pointers with arrays") Fixes: c169b6a588 ("net/softnic: map flow attribute to pipeline table") CC: cristian.dumitre...@intel.com CC: jasvinder.si...@intel.c