lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CY8PR11MB713402925BD00AAC0FFA51D889D6A@CY8PR11MB7134.namprd11.prod.outlook.com>
Date: Tue, 18 Nov 2025 14:31:49 +0000
From: "Zhuo, Qiuxu" <qiuxu.zhuo@...el.com>
To: Thorsten Blum <thorsten.blum@...ux.dev>, Mauro Carvalho Chehab
	<mchehab@...nel.org>, Borislav Petkov <bp@...en8.de>, "Luck, Tony"
	<tony.luck@...el.com>
CC: "linux-edac@...r.kernel.org" <linux-edac@...r.kernel.org>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: RE: [PATCH v2] EDAC/ghes: Replace deprecated strcpy in
 ghes_edac_report_mem_error

> From: Thorsten Blum <thorsten.blum@...ux.dev>
> Sent: Tuesday, November 18, 2025 9:56 PM
> To: Mauro Carvalho Chehab <mchehab@...nel.org>; Borislav Petkov
> <bp@...en8.de>; Luck, Tony <tony.luck@...el.com>
> Cc: Thorsten Blum <thorsten.blum@...ux.dev>; linux-edac@...r.kernel.org;
> linux-kernel@...r.kernel.org
> Subject: [PATCH v2] EDAC/ghes: Replace deprecated strcpy in
> ghes_edac_report_mem_error
> 
> strcpy() has been deprecated [1] because it performs no bounds checking on
> the destination buffer, which can lead to buffer overflows. Use the safer
> strscpy() instead.
> 
> Link: https://www.kernel.org/doc/html/latest/process/deprecated.html#strcpy
> [1]
> Signed-off-by: Thorsten Blum <thorsten.blum@...ux.dev>
> ---
> Changes in v2:
> - Update patch description (Boris)
> - Link to v1: https://lore.kernel.org/lkml/20251031114607.133523-1-
> thorsten.blum@...ux.dev/

LGTM, thanks.

   Reviewed-by: Qiuxu Zhuo <qiuxu.zhuo@...el.com>

> [...]

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ