Re: [dpdk-dev] [PATCH] power: fix sprintf with snprintf

2019-02-08 Thread Aaron Conole
Pallantla Poornima writes: > sprintf function is not secure as it doesn't check the length of string. > More secure function snprintf is used. > > Fixes: 450f079131 ("power: add traffic pattern aware power control") > Cc: sta...@dpdk.org > > Signed-off-by: Pallantla Poornima > --- > lib/librte_

[dpdk-dev] [PATCH] power: fix sprintf with snprintf

2019-02-03 Thread Pallantla Poornima
sprintf function is not secure as it doesn't check the length of string. More secure function snprintf is used. Fixes: 450f079131 ("power: add traffic pattern aware power control") Cc: sta...@dpdk.org Signed-off-by: Pallantla Poornima --- lib/librte_power/rte_power_empty_poll.c | 2 +- 1 file c