From: David Henningsson Date: Wed, 17 Oct 2012 10:43:44 +0000 (+0200) Subject: ALSA: hda - Always check array bounds in alc_get_line_out_pfx X-Git-Tag: v3.2.33~52 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4bd0ee768c5242d7ae09dbb66c9e531a22da1f68;p=pandora-kernel.git ALSA: hda - Always check array bounds in alc_get_line_out_pfx commit 71aa5ebe36a4e936eff281b375a4707b6a8320f2 upstream. Even when CONFIG_SND_DEBUG is not enabled, we don't want to return an arbitrary memory location when the channel count is larger than we expected. Signed-off-by: David Henningsson Signed-off-by: Takashi Iwai Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed