From: Clemens Ladisch Date: Sun, 20 Nov 2005 12:59:56 +0000 (+0100) Subject: [ALSA] rawmidi: protect against invalid device number in snd_rawmidi_info_select() X-Git-Tag: v2.6.16-rc1~474^2~22^2~3^2~81 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a106cd3d9e88c8761bd0eac2ce402cc82bd11fea;p=pandora-kernel.git [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: Clemens Ladisch --- Reading git-diff-tree failed