Messages in this thread | | | From | Kees Cook <> | Subject | Re: [PATCH] isdn: kcapi: replace deprecated strncpy with strscpy_pad | Date | Fri, 29 Sep 2023 12:37:25 -0700 |
| |
On Fri, 22 Sep 2023 11:49:14 +0000, 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. > > `buf` is used in this context as a data buffer with 64 bytes of memory > to be occupied by capi_manufakturer. > > [...]
Applied to for-next/hardening, thanks!
[1/1] isdn: kcapi: replace deprecated strncpy with strscpy_pad https://git.kernel.org/kees/c/69cee158c9b0
Take care,
-- Kees Cook
| |