Re: [dpdk-dev] [PATCH v2] test/distributor: fix sprintf with strlcpy

2019-04-04 Thread Thomas Monjalon
25/03/2019 16:11, Hunt, David: > On 14/2/2019 9:45 AM, Pallantla Poornima wrote: > > sprintf function is not secure as it doesn't check the length of string. > > replaced sprintf with strlcpy. > > > > Fixes: f74df2c57e ("test/distributor: test single and burst API") > > Cc: sta...@dpdk.org > > > >

Re: [dpdk-dev] [PATCH v2] test/distributor: fix sprintf with strlcpy

2019-03-25 Thread Hunt, David
Hi Poornima, On 14/2/2019 9:45 AM, Pallantla Poornima wrote: sprintf function is not secure as it doesn't check the length of string. replaced sprintf with strlcpy. Fixes: f74df2c57e ("test/distributor: test single and burst API") Cc: sta...@dpdk.org Signed-off-by: Pallantla Poornima --- v2:

[dpdk-dev] [PATCH v2] test/distributor: fix sprintf with strlcpy

2019-02-14 Thread Pallantla Poornima
sprintf function is not secure as it doesn't check the length of string. replaced sprintf with strlcpy. Fixes: f74df2c57e ("test/distributor: test single and burst API") Cc: sta...@dpdk.org Signed-off-by: Pallantla Poornima --- v2: Addressed review comment to replace snprintf to strlcpy. --- t