]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ALSA: hda: Use safer strscpy() instead of strcpy()
authorTakashi Iwai <tiwai@suse.de>
Fri, 11 Jul 2025 08:30:50 +0000 (10:30 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 11 Jul 2025 11:36:20 +0000 (13:36 +0200)
commit0bdbce25855f021187d16d4ffbb92102b9f13788
treecd1ba6458c6b635174b18a0a52f234ab719e7cf4
parent0c8e393941d25ea13a659f184c6dc76194a473b5
ALSA: hda: 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.

Link: https://patch.msgid.link/20250711083051.18759-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/hda/codecs/ca0132.c
sound/hda/codecs/generic.c
sound/hda/codecs/realtek/realtek.c
sound/hda/common/codec.c
sound/hda/controllers/intel.c