[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <SJ1PR11MB608368E2784D461E3CE3DAECFC169@SJ1PR11MB6083.namprd11.prod.outlook.com>
Date: Sat, 3 Dec 2022 22:21:16 +0000
From: "Luck, Tony" <tony.luck@...el.com>
To: "yang.yang29@....com.cn" <yang.yang29@....com.cn>
CC: "bp@...en8.de" <bp@...en8.de>,
"tglx@...utronix.de" <tglx@...utronix.de>,
"mingo@...hat.com" <mingo@...hat.com>,
"dave.hansen@...ux.intel.com" <dave.hansen@...ux.intel.com>,
"x86@...nel.org" <x86@...nel.org>, "hpa@...or.com" <hpa@...or.com>,
"linux-edac@...r.kernel.org" <linux-edac@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"xu.panda@....com.cn" <xu.panda@....com.cn>
Subject: RE: [PATCH linux-next] x86/mce/dev-mcelog: use strscpy() to instead
of strncpy()
> From: Xu Panda <xu.panda@....com.cn>
>
> The implementation of strscpy() is more robust and safer.
> That's now the recommended way to copy NUL terminated strings.
Reviewed-by: Tony Luck <tony.luck@...el.com>
Powered by blists - more mailing lists