[PATCH] net/mlx5: fix build with GCC 12 and ASan
Slava Ovsiienko
viacheslavo at nvidia.com
Wed Mar 15 13:08:30 CET 2023
Hi,
I would prefer to fix both.
With best regards,
Slava
> -----Original Message-----
> From: David Marchand <david.marchand at redhat.com>
> Sent: среда, 15 марта 2023 г. 12:05
> To: Slava Ovsiienko <viacheslavo at nvidia.com>
> Cc: dev at dpdk.org; stable at dpdk.org; Matan Azrad <matan at nvidia.com>
> Subject: Re: [PATCH] net/mlx5: fix build with GCC 12 and ASan
>
> On Tue, Mar 14, 2023 at 2:00 PM Slava Ovsiienko <viacheslavo at nvidia.com>
> wrote:
> >
> > Hi, David
> >
> > Thank you for the fix.
> > I see the quite similar strncpy() usage in mlx5_xstats_get_names() routine.
> > Does compiler complain about?
>
> Strangely.. no.
> But we could switch to strlcpy too.
> What is your preferrence?
>
>
> --
> David Marchand
More information about the dev
mailing list