[PATCH v3 1/2] eal: fix off by one in in tailq name init
David Marchand
david.marchand at redhat.com
Tue Jun 16 11:17:44 CEST 2026
On Wed, 10 Jun 2026 at 03:36, fengchengwen <fengchengwen at huawei.com> wrote:
>
> 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.
> >
Bugzilla ID: 1954
> > Fixes: f9acaf84e923 ("replace snprintf with strlcpy without adding extra include")
> > Cc: stable at dpdk.org
> >
> > Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
> Acked-by: Chengwen Feng <fengchengwen at huawei.com>
Applied, thanks.
--
David Marchand
More information about the dev
mailing list