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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <175537390637.76278.4292051193743883594.b4-ty@samsung.com>
Date: Sat, 16 Aug 2025 21:51:46 +0200
From: Daniel Gomez <da.gomez@...sung.com>
To: Petr Pavlu <petr.pavlu@...e.com>, 
 Thomas Weißschuh <linux@...ssschuh.net>, 
 Shyam Saini <shyamsaini@...ux.microsoft.com>, 
 Luis Chamberlain <mcgrof@...nel.org>, Dmitry Antipov <dmantipov@...dex.ru>, 
 Thorsten Blum <thorsten.blum@...ux.dev>
Cc: linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] params: Replace deprecated strcpy() with strscpy()
 and memcpy()


On Wed, 13 Aug 2025 15:21:59 +0200, Thorsten Blum wrote:
> strcpy() is deprecated; use strscpy() and memcpy() instead.
> 
> In param_set_copystring(), we can safely use memcpy() because we already
> know the length of the source string 'val' and that it is guaranteed to
> be NUL-terminated within the first 'kps->maxlen' bytes.
> 
> 
> [...]

Applied, thanks!

[1/1] params: Replace deprecated strcpy() with strscpy() and memcpy()
      commit: 5eb4b9a4cdbb70d70377fe8fb2920b75910e5024

Best regards,
-- 
Daniel Gomez <da.gomez@...sung.com>


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ