ALSA: synth: Use safer strscpy() instead of strcpy()
authorTakashi Iwai <tiwai@suse.de>
Thu, 10 Jul 2025 10:07:16 +0000 (12:07 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 11 Jul 2025 07:53:35 +0000 (09:53 +0200)
commit2173cee16c2cad741d14c2eb17d39928f7b162c9
treed33a237a491810a59c72a9bd477cc9c713c56c69
parent3fb167d7ceb7f22462743df93d9ed7f06eeaf6d0
ALSA: synth: 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-95-tiwai@suse.de
sound/synth/emux/emux_hwdep.c
sound/synth/emux/emux_oss.c