Messages in this thread | | | Date | Mon, 23 May 2022 11:39:40 +0200 | From | Thomas Bogendoerfer <> | Subject | Re: [PATCH] mips: setup: use strscpy to replace strlcpy |
| |
On Sun, May 22, 2022 at 03:46:18PM +0800, 陈学兵 wrote: > > The strlcpy should not be used because it doesn't limit the source > length. Preferred is strscpy. > > Signed-off-by: XueBing Chen <chenxuebing@jari.cn> > --- > arch/mips/kernel/setup.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-)
applied to mips-next.
Thomas.
-- Crap can work. Given enough thrust pigs will fly, but it's not necessarily a good idea. [ RFC1925, 2.3 ]
| |