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

2019-02-06 Thread Bruce Richardson
On Wed, Feb 06, 2019 at 10:39:07AM +, Pallantla Poornima wrote: > sprintf function is not secure as it doesn't check the length of string. > More secure function snprintf is used. > > Fixes: f74df2c57e ("test/distributor: test single and burst API") > Cc: sta...@dpdk.org > > Signed-off-by: Pa

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

2019-02-06 Thread Pallantla Poornima
sprintf function is not secure as it doesn't check the length of string. More secure function snprintf is used. Fixes: f74df2c57e ("test/distributor: test single and burst API") Cc: sta...@dpdk.org Signed-off-by: Pallantla Poornima --- test/test/test_distributor.c | 6 -- 1 file changed, 4