From: Roel Kluin Date: Tue, 10 Nov 2009 19:11:55 +0000 (+0100) Subject: ALSA: hda - possible read past array alc88[02]_parse_auto_config() X-Git-Tag: v2.6.32-rc7~39^2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=71121d9fcc494453b9311992de220abb47dde3f1;p=pandora-kernel.git ALSA: hda - possible read past array alc88[02]_parse_auto_config() The test of index `i' is after the read - too late - and unsafe: if snd_hda_get_connections() fails in the last iteration a read beyond the array is possible. Signed-off-by: Roel Kluin Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed