aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorThorsten Blum <[email protected]>2025-08-05 23:41:53 +0000
committerTakashi Iwai <[email protected]>2025-08-06 06:02:15 +0000
commit8cbe564974248ee980562be02f2b1912769562c7 (patch)
tree0f4d9b3d2c7ea2e21b29c3a748764322d3121045 /tools/perf/scripts/python/syscall-counts-by-pid.py
parentALSA: hda/realtek: add LG gram 16Z90R-A to alc269 fixup table (diff)
downloadkernel-8cbe564974248ee980562be02f2b1912769562c7.tar.gz
kernel-8cbe564974248ee980562be02f2b1912769562c7.zip
ALSA: intel_hdmi: Fix off-by-one error in __hdmi_lpe_audio_probe()
In __hdmi_lpe_audio_probe(), strscpy() is incorrectly called with the length of the source string (excluding the NUL terminator) rather than the size of the destination buffer. This results in one character less being copied from 'card->shortname' to 'pcm->name'. Use the destination buffer size instead to ensure the card name is copied correctly. Cc: [email protected] Fixes: 75b1a8f9d62e ("ALSA: Convert strlcpy to strscpy when return value is unused") Signed-off-by: Thorsten Blum <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions