[PATCH 11/17] net/mlx4: replace strncpy with strlcpy
Dariusz Sosnowski
dsosnowski at nvidia.com
Tue Aug 25 14:17:59 CEST 2026
On Tue, Jun 23, 2026 at 05:51:41PM +0100, Bruce Richardson wrote:
> Replace strncpy() with safer strlcpy() which always null-terminates.
>
> Fixes: 61cbdd419478 ("net/mlx4: separate device control functions")
> Cc: stable at dpdk.org
>
> Signed-off-by: Bruce Richardson <bruce.richardson at intel.com>
Acked-by: Dariusz Sosnowski <dsosnowski at nvidia.com>
More information about the dev
mailing list