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: <87frf4xwt6.wl-tiwai@suse.de>
Date: Thu, 10 Jul 2025 10:41:09 +0200
From: Takashi Iwai <tiwai@...e.de>
To: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
Cc: Thorsten Blum <thorsten.blum@...ux.dev>,
	Takashi Iwai <tiwai@...e.de>,
	Jaroslav Kysela <perex@...ex.cz>,
	Takashi Iwai <tiwai@...e.com>,
	Philipp Stanner <phasta@...nel.org>,
	Andres Urian Florez <andres.emb.sys@...il.com>,
	linux-sound@...r.kernel.org,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH] ALSA: echoaudio: Replace deprecated strcpy() with strscpy()

On Thu, 10 Jul 2025 10:34:57 +0200,
Andy Shevchenko wrote:
> 
> On Wed, Jul 09, 2025 at 10:55:02PM +0200, Thorsten Blum wrote:
> > On 9. Jul 2025, at 16:05, Takashi Iwai wrote:
> > > Thanks, applied now.
> 
> > > And now I'm going to convert all the rest of such trivial stuff
> > > (strcpy() with card->driver, shortname, mixername, longname, as well
> > > as pcm->name, and else) in sound/* for 6.17.
> > 
> > Yes, please :) I thought about submitting a patch series for all of
> > sound/*, but didn't find the time yet.
> 
> Note that strscpy() supports 3rd argument optionally, it means it's better
> to use 2-arg variant when the destination is supposed to be an array of
> characters.

Yes, most of Thomas' patches are using 2 arg variant, just replacing
strcpy() with strscpy().


thanks,

Takashi

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ