]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[ALSA] rawmidi: protect against invalid device number in snd_rawmidi_info_select()
authorClemens Ladisch <clemens@ladisch.de>
Sun, 20 Nov 2005 12:59:56 +0000 (13:59 +0100)
committerJaroslav Kysela <perex@suse.cz>
Tue, 3 Jan 2006 11:29:12 +0000 (12:29 +0100)
commita106cd3d9e88c8761bd0eac2ce402cc82bd11fea
tree1dd614d50a0bd30af45fd63372f02da5a5fe86e6
parentac09a9251d3b7678150ee512de8de1bd98628d11
[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 <clemens@ladisch.de>
sound/core/rawmidi.c