[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20220523093940.GA6296@alpha.franken.de>
Date: Mon, 23 May 2022 11:39:40 +0200
From: Thomas Bogendoerfer <tsbogend@...ha.franken.de>
To: 陈学兵 <chenxuebing@...i.cn>
Cc: catalin.marinas@....com, rdunlap@...radead.org, rppt@...nel.org,
rafael.j.wysocki@...el.com, linux-mips@...r.kernel.org,
linux-kernel@...r.kernel.org
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@...i.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 ]
Powered by blists - more mailing lists