Re: [PATCH] net: ax88796c: replace deprecated strncpy with strscpy

2023-10-06 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (main) by Jakub Kicinski : On Thu, 05 Oct 2023 01:06:26 + you wrote: > `strncpy` is deprecated for use on NUL-terminated destination strings > [1] and as such we should prefer more robust and less ambiguous string > interfaces. > > A suita

Re: [PATCH] net: ax88796c: replace deprecated strncpy with strscpy

2023-10-05 Thread Lukasz Stelmach
It was <2023-10-05 czw 01:06>, when Justin Stitt wrote: > `strncpy` is deprecated for use on NUL-terminated destination strings > [1] and as such we should prefer more robust and less ambiguous string > interfaces. > > A suitable replacement is `strscpy` [2] due to the fact that it > guarantees NUL

Re: [PATCH] net: ax88796c: replace deprecated strncpy with strscpy

2023-10-04 Thread Kees Cook
On Thu, Oct 05, 2023 at 01:06:26AM +, Justin Stitt wrote: > `strncpy` is deprecated for use on NUL-terminated destination strings > [1] and as such we should prefer more robust and less ambiguous string > interfaces. > > A suitable replacement is `strscpy` [2] due to the fact that it > guarant

[PATCH] net: ax88796c: replace deprecated strncpy with strscpy

2023-10-04 Thread Justin Stitt
`strncpy` is deprecated for use on NUL-terminated destination strings [1] and as such we should prefer more robust and less ambiguous string interfaces. A suitable replacement is `strscpy` [2] due to the fact that it guarantees NUL-termination on the destination buffer without unnecessarily NUL-pa