]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ALSA: maestro3: Use safer strscpy() instead of strcpy()
authorTakashi Iwai <tiwai@suse.de>
Thu, 10 Jul 2025 10:06:54 +0000 (12:06 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 11 Jul 2025 07:53:21 +0000 (09:53 +0200)
commitc1b4f94c7645c58111cf53eb5165ab5fc65ec67d
tree477878c0754361edff171da0469800be0c801b04
parentec4894f82775c9abe14afef9a29b913ee549ec06
ALSA: maestro3: 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-73-tiwai@suse.de
sound/pci/maestro3.c