Re: [dpdk-dev] [PATCH v2] app/test: fix sprintf with strlcat

2019-04-01 Thread Thomas Monjalon
13/03/2019 14:51, Aaron Conole: > Pallantla Poornima writes: > > > sprintf function is not secure as it doesn't check the length of string. > > More secure function strlcat is used. > > > > Fixes: 727909c592 ("app/test: introduce dynamic commands list") > > Cc: sta...@dpdk.org > > > > Signed-off-

Re: [dpdk-dev] [PATCH v2] app/test: fix sprintf with strlcat

2019-03-13 Thread Aaron Conole
Pallantla Poornima writes: > sprintf function is not secure as it doesn't check the length of string. > More secure function strlcat is used. > > Fixes: 727909c592 ("app/test: introduce dynamic commands list") > Cc: sta...@dpdk.org > > Signed-off-by: Pallantla Poornima > --- > v2: Used strlcat t

[dpdk-dev] [PATCH v2] app/test: fix sprintf with strlcat

2019-03-13 Thread Pallantla Poornima
sprintf function is not secure as it doesn't check the length of string. More secure function strlcat is used. Fixes: 727909c592 ("app/test: introduce dynamic commands list") Cc: sta...@dpdk.org Signed-off-by: Pallantla Poornima --- v2: Used strlcat to avoid buffer overflow. --- app/test/comman