patch 'net/ark: replace strncpy with strlcpy' has been queued to stable release 25.11.5

Kevin Traynor ktraynor at redhat.com
Thu Dec 3 14:00:05 CET 2026


Hi,

FYI, your patch has been queued to stable release 25.11.5

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 12/08/26. So please
shout if anyone has objections.

Also note that after the patch there's a diff of the upstream commit vs the
patch applied to the branch. This will indicate if there was any rebasing
needed to apply to the stable branch. If there were code changes for rebasing
(ie: not only metadata diffs), please double check that the rebase was
correctly done.

Queued patches are on a temporary branch at:
https://github.com/kevintraynor/dpdk-stable

This queued commit can be viewed at:
https://github.com/kevintraynor/dpdk-stable/commit/ae1e9c566924ddea277ec1ba86a52a4f8e05e0a9

Thanks.

Kevin

---
>From ae1e9c566924ddea277ec1ba86a52a4f8e05e0a9 Mon Sep 17 00:00:00 2001
From: Bruce Richardson <bruce.richardson at intel.com>
Date: Wed, 24 Jun 2026 11:36:45 +0100
Subject: [PATCH] net/ark: replace strncpy with strlcpy

[ upstream commit 200ca108f38746ee3049389119d2b9c04515366d ]

Replace strncpy() with safer strlcpy() which always null-terminates.

Fixes: 1131cbf0fb2b ("net/ark: stub PMD for Atomic Rules Arkville")

Signed-off-by: Bruce Richardson <bruce.richardson at intel.com>
---
 drivers/net/ark/ark_ethdev.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/ark/ark_ethdev.c b/drivers/net/ark/ark_ethdev.c
index ee3d19fccc..c8dc578f7c 100644
--- a/drivers/net/ark/ark_ethdev.c
+++ b/drivers/net/ark/ark_ethdev.c
@@ -930,5 +930,5 @@ process_file_args(const char *key, const char *value, void *extra_args)
 		}
 		if (first) {
-			strncpy(args, line, ARK_MAX_ARG_LEN);
+			strlcpy(args, line, ARK_MAX_ARG_LEN);
 			first = 0;
 		} else {
-- 
2.56.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2026-12-03 12:52:41.530569661 +0000
+++ 0079-net-ark-replace-strncpy-with-strlcpy.patch	2026-12-03 12:52:39.071376041 +0000
@@ -1 +1 @@
-From 200ca108f38746ee3049389119d2b9c04515366d Mon Sep 17 00:00:00 2001
+From ae1e9c566924ddea277ec1ba86a52a4f8e05e0a9 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 200ca108f38746ee3049389119d2b9c04515366d ]
+
@@ -9 +10,0 @@
-Cc: stable at dpdk.org
@@ -17 +18 @@
-index 9272e271e6..d6b1abf383 100644
+index ee3d19fccc..c8dc578f7c 100644



More information about the stable mailing list