Re: [dpdk-dev] [PATCH v3] app/test/hash: fix sprintf with snprintf

2019-04-04 Thread Thomas Monjalon
26/03/2019 11:27, Pallantla Poornima: > sprintf function is not secure as it doesn't check the length of string. > More secure function snprintf is used. > > Fixes: 473d1bebce ("hash: allow to store data in hash table") > Cc: sta...@dpdk.org > > Signed-off-by: Pallantla Poornima > Acked-by: Yipe

[dpdk-dev] [PATCH v3] app/test/hash: fix sprintf with snprintf

2019-03-26 Thread Pallantla Poornima
sprintf function is not secure as it doesn't check the length of string. More secure function snprintf is used. Fixes: 473d1bebce ("hash: allow to store data in hash table") Cc: sta...@dpdk.org Signed-off-by: Pallantla Poornima Acked-by: Yipeng Wang --- v3: Rebased. v2: Addressed review comment