]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ALSA: pcxhr: Use safer strscpy() instead of strcpy()
authorTakashi Iwai <tiwai@suse.de>
Thu, 10 Jul 2025 10:06:58 +0000 (12:06 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 11 Jul 2025 07:53:22 +0000 (09:53 +0200)
commitc810473253842bf8df21bd0dee5195ef62d95a3c
tree0f9da614f5a7153c40fd88119c40bc4408b73a01
parent1c8e3ebdfe3342b885cdf519d0bbc9e5a494c60a
ALSA: pcxhr: 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>
Link: https://patch.msgid.link/20250710100727.22653-77-tiwai@suse.de
sound/pci/pcxhr/pcxhr.c