summaryrefslogtreecommitdiff
path: root/scripts/lib/kdoc/kdoc_re.py
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2025-07-10 12:07:25 +0200
committerTakashi Iwai <tiwai@suse.de>2025-07-11 09:53:36 +0200
commitbee60f019606827363d7e355b2e859e29e928c3a (patch)
treec87db59703bd97a757f4df489800954c98b19e24 /scripts/lib/kdoc/kdoc_re.py
parent53beb4d0ed8f9bf31ba30e65953abb473b191bd0 (diff)
ALSA: core: Copy string more safely
Replace the remaining strcpy() and sprintf() usages in the ALSA core code with the safer versions. The first strcpy() points actually to card->id, hence just use strscpy() with card->id instead. The append of suffix string is slightly rewritten so that we can use scnprintf() and strscpy(). Only for safety, no actual behavior change. Signed-off-by: Takashi Iwai <tiwai@suse.de> Link: https://patch.msgid.link/20250710100727.22653-104-tiwai@suse.de
Diffstat (limited to 'scripts/lib/kdoc/kdoc_re.py')
0 files changed, 0 insertions, 0 deletions