summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2025-01-10 18:59:37 +0300
committerTakashi Iwai <tiwai@suse.de>2025-01-12 15:12:20 +0300
commite3f035edadcc1c5901311c03d098bc3dedc5c525 (patch)
tree1e8ff2d3a3c0a82f96410bf8db5e2ef856d91638 /scripts/gdb/linux/utils.py
parent7bb49d2e8b52adace88249d9dece41e36af3bba0 (diff)
downloadlinux-e3f035edadcc1c5901311c03d098bc3dedc5c525.tar.xz
ALSA: ump: Copy FB name string more safely
The UMP group names are referred as the corresponding sequencer port names, hence they should be proper ASCII strings. OTOH, the UMP group names are composed from the UMP FB strings that are received from the device; i.e. a device may give some bogus letters and we can't trust them fully. To assure that the group names consist of the proper ASCII strings, replace the normal string copy and append operations with special ones that strip the non-printable letters. Signed-off-by: Takashi Iwai <tiwai@suse.de> Link: https://patch.msgid.link/20250110155943.31578-5-tiwai@suse.de
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions