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

2019-02-07 Thread Wiles, Keith
> On Feb 7, 2019, at 10:40 AM, Ferruh Yigit wrote: > > On 2/4/2019 7:02 AM, Pallantla Poornima wrote: >> sprintf function is not secure as it doesn't check the length of string. >> More secure function snprintf is used. >> >> Fixes: 3fc5ca2f63 ("kni: initial import") >> Fixes: b9ee370557 ("kn

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

2019-02-07 Thread Ferruh Yigit
On 2/4/2019 7:02 AM, Pallantla Poornima wrote: > sprintf function is not secure as it doesn't check the length of string. > More secure function snprintf is used. > > Fixes: 3fc5ca2f63 ("kni: initial import") > Fixes: b9ee370557 ("kni: update kernel driver ethtool baseline") > Cc: sta...@dpdk.org

[dpdk-dev] [PATCH] kni: 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: 3fc5ca2f63 ("kni: initial import") Fixes: b9ee370557 ("kni: update kernel driver ethtool baseline") Cc: sta...@dpdk.org Signed-off-by: Pallantla Poornima --- kernel/linux/kni/e