Skip to content
Snippets Groups Projects
Commit 02bb57ae authored by Roel Kluin's avatar Roel Kluin Committed by Takashi Iwai
Browse files

sound: OSS: keep index within bounds of midi_devs[]


When the {orig,midi}_dev equals num_midis, that's one too
large already.

Signed-off-by: default avatarRoel Kluin <roel.kluin@gmail.com>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 0c3c35e1
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment