summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2025-07-10 13:07:25 +0300
committerTakashi Iwai <tiwai@suse.de>2025-07-11 10:53:36 +0300
commitbee60f019606827363d7e355b2e859e29e928c3a (patch)
treec87db59703bd97a757f4df489800954c98b19e24 /tools/perf/scripts/python/net_dropmonitor.py
parent53beb4d0ed8f9bf31ba30e65953abb473b191bd0 (diff)
downloadlinux-bee60f019606827363d7e355b2e859e29e928c3a.tar.xz
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 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions