Re: [PATCH v2] accessibility: speakup: refactor deprecated strncpy

2023-10-03 Thread Kees Cook
On Mon, 18 Sep 2023 05:30:15 +, Justin Stitt wrote: > `strncpy` is deprecated for use on NUL-terminated destination strings [1]. > > Let's refactor this function to just use synth_write(). > > Thanks for the testing! It's been 2 week without any more comments, so I'll snag this. Applied to

[PATCH v2] accessibility: speakup: refactor deprecated strncpy

2023-09-17 Thread Justin Stitt
`strncpy` is deprecated for use on NUL-terminated destination strings [1]. Let's refactor this function to just use synth_write(). Link: www.kernel.org/doc/html/latest/process/deprecated.html#strncpy-on-nul-terminated-strings[1] Link: https://manpages.debian.org/testing/linux-manual-4.8/strscpy.