diff options
author | Takashi Iwai <[email protected]> | 2024-05-29 18:47:16 +0200 |
---|---|---|
committer | Takashi Iwai <[email protected]> | 2024-05-29 18:48:51 +0200 |
commit | ac0d71ee534e67c7e53439e8e9cb45ed40731660 (patch) | |
tree | b0a4e0b5fecfde06c68b56cb0e4ce96b436693f6 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 6d40dbc75877110c5e0d661dd77f6cfce916765e (diff) |
ALSA: ump: Don't accept an invalid UMP protocol number
When a UMP Stream Configuration message is received, the driver tries
to switch the protocol, but there was no sanity check of the protocol,
hence it can pass an invalid value. Add the check and bail out if a
wrong value is passed.
Fixes: a79807683781 ("ALSA: ump: Add helper to change MIDI protocol")
Cc: <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions