ALSA: hda - Check array bounds in get_input_path
authorDavid Henningsson <david.henningsson@canonical.com>
Wed, 16 Jan 2013 10:45:35 +0000 (11:45 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 16 Jan 2013 10:56:36 +0000 (11:56 +0100)
commitb56fa1ed09615f148271045d220b1c55580bdfc9
tree5d0f543f3c3b7ada3756506dc57726464c84deea
parentea46c3c87c35b90139b4dca43917d0f605d568ed
ALSA: hda - Check array bounds in get_input_path

This gives us some additional safety.

Signed-off-by: David Henningsson <david.henningsson@canonical.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_generic.c