diff options
author | Jaroslav Kysela <[email protected]> | 2024-10-02 21:46:49 +0200 |
---|---|---|
committer | Takashi Iwai <[email protected]> | 2024-10-03 09:16:58 +0200 |
commit | d278a9de5e1837edbe57b2f1f95a104ff6c84846 (patch) | |
tree | f5a9f3649402c468da827a6b8a40e409de8d7755 /drivers/platform/x86/intel/pmt/class.c | |
parent | 33027006ecf3f4204de54c446b1fe9b770e99f44 (diff) |
ALSA: core: add isascii() check to card ID generator
The card identifier should contain only safe ASCII characters. The isalnum()
returns true also for characters for non-ASCII characters.
Link: https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/4135
Link: https://lore.kernel.org/linux-sound/yk3WTvKkwheOon_LzZlJ43PPInz6byYfBzpKkbasww1yzuiMRqn7n6Y8vZcXB-xwFCu_vb8hoNjv7DTNwH5TWjpEuiVsyn9HPCEXqwF4120=@protonmail.com/
Cc: [email protected]
Reported-by: Barnabás Pőcze <[email protected]>
Signed-off-by: Jaroslav Kysela <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'drivers/platform/x86/intel/pmt/class.c')
0 files changed, 0 insertions, 0 deletions