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] [day] [month] [year] [list]
Message-ID: <aQxNAY1yzAgtE-lY@gondor.apana.org.au>
Date: Thu, 6 Nov 2025 15:23:45 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Thorsten Blum <thorsten.blum@...ux.dev>
Cc: Srujana Challa <schalla@...vell.com>,
	Bharat Bhushan <bbhushan2@...vell.com>,
	"David S. Miller" <davem@...emloft.net>,
	Sunil Kovvuri Goutham <sgoutham@...vell.com>,
	Subbaraya Sundeep <sbhatta@...vell.com>,
	Jakub Kicinski <kuba@...nel.org>,
	"Dr. David Alan Gilbert" <linux@...blig.org>,
	Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>,
	Sai Krishna <saikrishnag@...vell.com>, linux-crypto@...r.kernel.org,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH] crypto: octeontx2 - Replace deprecated strcpy in
 cpt_ucode_load_fw

On Sat, Nov 01, 2025 at 03:04:42PM +0100, Thorsten Blum wrote:
> strcpy() is deprecated; use the safer strscpy() instead.
> 
> The destination buffer is only zero-initialized for the first iteration
> and since strscpy() guarantees its NUL termination anyway, remove
> zero-initializing 'eng_type'.
> 
> Link: https://github.com/KSPP/linux/issues/88
> Signed-off-by: Thorsten Blum <thorsten.blum@...ux.dev>
> ---
>  drivers/crypto/marvell/octeontx2/otx2_cptpf_ucode.c | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)

Patch applied.  Thanks.
-- 
Email: Herbert Xu <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ