]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ALSA: firewire: fireface: Use safer strscpy() instead of strcpy()
authorTakashi Iwai <tiwai@suse.de>
Thu, 10 Jul 2025 10:05:58 +0000 (12:05 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 11 Jul 2025 07:52:40 +0000 (09:52 +0200)
commit4b366c9d78e70bbf2e52f0a2fa2aca3e505ce95e
tree9056324c102c6eff27b21aa5434c94390fb5aeb1
parent662dacfc6466e9eb07ae6be18799b62dbdaa2a0a
ALSA: firewire: fireface: 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-17-tiwai@suse.de
sound/firewire/fireface/ff-hwdep.c
sound/firewire/fireface/ff.c