Skip to content
Commit a106cd3d authored by Clemens Ladisch's avatar Clemens Ladisch Committed by Jaroslav Kysela
Browse files

[ALSA] rawmidi: protect against invalid device number in snd_rawmidi_info_select()



Modules: RawMidi Midlevel

In snd_rawmidi_info_select(), check that the device identified by the
passed device number actually exists.

Signed-off-by: default avatarClemens Ladisch <clemens@ladisch.de>
parent ac09a925
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment