Re: [dpdk-dev] [PATCH] net/nfp: fix sprintf with snprintf

2019-03-01 Thread Ferruh Yigit
On 2/4/2019 7:22 AM, Pallantla Poornima wrote: > sprintf function is not secure as it doesn't check the length of string. > More secure function snprintf is used. Can you please update title to reflect what actually fixed, something like: net/nfp: fix possible buffer overflow > > Fixes: 896c265e

[dpdk-dev] [PATCH] net/nfp: 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: 896c265ef9 ("net/nfp: use new CPP interface") Fixes: c4171b520b ("net/nfp: support PF multiport") Cc: sta...@dpdk.org Signed-off-by: Pallantla Poornima --- drivers/net/nfp/nfp_