[EXTERNAL] [PATCH v2 1/3] app/crypto-perf: fix asymmetric op pool name size
Akhil Goyal
gakhil at marvell.com
Tue Sep 22 20:25:01 CEST 2026
> 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 <stephen at networkplumber.org>
> ---
> app/test-crypto-perf/cperf_test_common.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
Acked-by: Akhil Goyal <gakhil at marvell.com>
More information about the dev
mailing list