From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by smtp.lore.kernel.org (Postfix) with ESMTP id 11295CCF2C3 for ; Fri, 16 Oct 2026 20:13:58 +0000 (UTC) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 39DB240291; Fri, 16 Oct 2026 22:13:58 +0200 (CEST) Received: from dkmailrelay1.smartsharesystems.com (smartserver.smartsharesystems.com [77.243.40.215]) by mails.dpdk.org (Postfix) with ESMTP id 991D64026C for ; Fri, 16 Oct 2026 22:13:56 +0200 (CEST) Received: from smartserver.smartsharesystems.com (smartserver.smartsharesys.local [192.168.4.10]) by dkmailrelay1.smartsharesystems.com (Postfix) with ESMTP id 7468B2080A; Fri, 16 Oct 2026 22:13:56 +0200 (CEST) Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: [PATCH v3 1/3] app/crypto-perf: fix asymmetric op pool name size X-MimeOLE: Produced By Microsoft Exchange V6.5 Date: Fri, 16 Oct 2026 22:13:53 +0200 Message-ID: <98CBD80474FA8B44BF855DF32C47DC35F65AB9@smartserver.smartshare.dk> In-Reply-To: <20261016153949.2965592-2-stephen@networkplumber.org> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [PATCH v3 1/3] app/crypto-perf: fix asymmetric op pool name size Thread-Index: Ad1dhJzdTnylCzOGTgyqWgxXE/3GhAAJgNXw References: <20260921215733.404686-1-stephen@networkplumber.org> <20261016153949.2965592-1-stephen@networkplumber.org> <20261016153949.2965592-2-stephen@networkplumber.org> From: =?iso-8859-1?Q?Morten_Br=F8rup?= To: "Stephen Hemminger" , X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org > @@ -154,7 +154,7 @@ cperf_alloc_common_memory(const struct > cperf_options *options, >=20 > if (cperf_is_asym_test(options)) { > crypto_op_size +=3D sizeof(struct rte_crypto_asym_op); > - snprintf(pool_name, RTE_MEMPOOL_NAMESIZE, > "perf_asym_op_pool%u", > + snprintf(pool_name, sizeof(pool_name), > "perf_asym_op_pool%u", > rte_socket_id()); > *pool =3D rte_crypto_op_pool_create( > pool_name, RTE_CRYPTO_OP_TYPE_ASYMMETRIC, snprintf() doesn't ensure zero-terminated string. Not new, and don't know if it matters; just mentioning it. Acked-by: Morten Br=F8rup