> The asymmetric op pool name buffer is 32 bytes but snprintf is given
> RTE_MEMPOOL_NAMESIZE as the size. This is harmless only as long as
> RTE_MEMPOOL_NAMESIZE is not larger than 32.
> 
> Size the buffer with RTE_MEMPOOL_NAMESIZE and use sizeof() for the
> snprintf limit, as the symmetric path already does.
> 
> Fixes: ba588ce3f933 ("test/crypto-perf: test asymmetric crypto throughput")
> Signed-off-by: Stephen Hemminger <[email protected]>
> ---
>  app/test-crypto-perf/cperf_test_common.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Acked-by: Akhil Goyal <[email protected]>

Reply via email to