Re: [dpdk-dev] [dpdk-stable] [PATCH v2] net/nfp: fix possible buffer overflow

2019-03-21 Thread Ferruh Yigit
On 3/21/2019 10:10 AM, Alejandro Lucero wrote: > > > On Tue, Mar 19, 2019 at 5:43 PM Ferruh Yigit > wrote: > > On 3/12/2019 9:56 AM, Alejandro Lucero wrote: > > On Fri, Mar 8, 2019 at 10:28 AM Pallantla Poornima < > > pallantlax.poorn...@intel.com

Re: [dpdk-dev] [dpdk-stable] [PATCH v2] net/nfp: fix possible buffer overflow

2019-03-21 Thread Alejandro Lucero
On Tue, Mar 19, 2019 at 5:43 PM Ferruh Yigit wrote: > On 3/12/2019 9:56 AM, Alejandro Lucero wrote: > > On Fri, Mar 8, 2019 at 10:28 AM Pallantla Poornima < > > pallantlax.poorn...@intel.com> wrote: > > > >> sprintf function is not secure as it doesn't check the length of string. > >> More secure

Re: [dpdk-dev] [dpdk-stable] [PATCH v2] net/nfp: fix possible buffer overflow

2019-03-19 Thread Ferruh Yigit
On 3/12/2019 9:56 AM, Alejandro Lucero wrote: > On Fri, Mar 8, 2019 at 10:28 AM Pallantla Poornima < > pallantlax.poorn...@intel.com> wrote: > >> sprintf function is not secure as it doesn't check the length of string. >> More secure function snprintf is used. >> >> Fixes: 896c265ef9 ("net/nfp: us