Re: [PATCH] staging: greybus: audio_helper.c: Replace strlcpy() with strscpy()

2021-01-27 Thread Greg Kroah-Hartman
On Sat, Jan 09, 2021 at 06:57:31PM +0530, B K Karthik wrote: > In gbaudio_remove_controls() , replace the usage of strlcpy() with > strscpy() because strlcpy() only limits the *destination* > size, and the source is always read fully. > >

[PATCH] staging: greybus: audio_helper.c: Replace strlcpy() with strscpy()

2021-01-09 Thread B K Karthik
In gbaudio_remove_controls() , replace the usage of strlcpy() with strscpy() because strlcpy() only limits the *destination* size, and the source is always read fully. https://lore.kernel.org/r/CAHk-=wgfRnXz0W3D37d01q3JFkr_i_uTL=v6a6g1ouzcprm...@mail.gmail.com/ was quoted by checkpatch while