]> git.ipfire.org Git - thirdparty/linux.git/commit
ALSA: firewire: bebob: Use safer strscpy() instead of strcpy()
authorTakashi Iwai <tiwai@suse.de>
Thu, 10 Jul 2025 10:05:55 +0000 (12:05 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 11 Jul 2025 07:52:13 +0000 (09:52 +0200)
commitf9f63cb6eb91b67244c0fb5e91e98638178eadac
treef63edac067715865a022aa072acb707052cdd2f3
parentc4a38b94bad184a140d357541e50576d4f288592
ALSA: firewire: bebob: Use safer strscpy() instead of strcpy()

Use a safer function strscpy() instead of strcpy() for copying to
arrays.

Only idiomatic code replacement, and no functional changes.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Reviewed-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Link: https://patch.msgid.link/20250710100727.22653-14-tiwai@suse.de
sound/firewire/bebob/bebob.c
sound/firewire/bebob/bebob_hwdep.c