Hi, 

I would prefer to fix both.

With best regards,
Slava

> -----Original Message-----
> From: David Marchand <[email protected]>
> Sent: среда, 15 марта 2023 г. 12:05
> To: Slava Ovsiienko <[email protected]>
> Cc: [email protected]; [email protected]; Matan Azrad <[email protected]>
> Subject: Re: [PATCH] net/mlx5: fix build with GCC 12 and ASan
> 
> On Tue, Mar 14, 2023 at 2:00 PM Slava Ovsiienko <[email protected]>
> 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