Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
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
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