Hi, 

I would prefer to fix both.

With best regards,
Slava

> -----Original Message-----
> From: David Marchand <david.march...@redhat.com>
> Sent: среда, 15 марта 2023 г. 12:05
> To: Slava Ovsiienko <viachesl...@nvidia.com>
> Cc: dev@dpdk.org; sta...@dpdk.org; Matan Azrad <ma...@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 <viachesl...@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

Reply via email to