[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: NClemens Ladisch <clemens@ladisch.de>
Showing
想要评论请 注册 或 登录