ALSA: dbri: replace strcpy() with strscpy()
authorSiddarth Gundu <siddarthsgml@gmail.com>
Mon, 19 May 2025 19:48:33 +0000 (01:18 +0530)
committerTakashi Iwai <tiwai@suse.de>
Mon, 19 May 2025 20:37:35 +0000 (22:37 +0200)
commitd787415a3977a1a51db1dcf19ea3205dc234e792
tree28999b10802f7a61aed889dc56566755e0bb61dd
parentb522a8b6ef362eaaef76bb8faee2cba4f14fc242
ALSA: dbri: replace strcpy() with strscpy()

strcpy() is deprecated; use strscpy() instead.

Both the destination and source buffer are of fixed length
so strscpy with 2-arguments is used.

Link: https://github.com/KSPP/linux/issues/88
Signed-off-by: Siddarth Gundu <siddarthsgml@gmail.com>
Link: https://patch.msgid.link/20250519194833.106463-1-siddarthsgml@gmail.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/sparc/dbri.c