[PATCH v3 1/2] eal: fix off by one in in tailq name init
fengchengwen
fengchengwen at huawei.com
Wed Jun 10 03:35:49 CEST 2026
Acked-by: Chengwen Feng <fengchengwen at huawei.com>
On 6/9/2026 11:53 PM, Stephen Hemminger wrote:
> The tailq name is defined as 32 bytes, but name would be
> silently truncated at 31 bytes. The function strlcpy() size
> already accounts for the nul character at the end.
nul -> NUL
>
>
> Fixes: f9acaf84e923 ("replace snprintf with strlcpy without adding extra include")
> Cc: stable at dpdk.org
>
> Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
More information about the dev
mailing list