From: Wu Fengguang Date: Fri, 17 Jul 2009 08:49:19 +0000 (+0800) Subject: ALSA: hda - add bounds checking for the codec command fields X-Git-Tag: v2.6.32-rc1~732^2~13^2~74 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6430aeeb30b478d4ef25f988b1fde6f6ae83adb5;p=pandora-kernel.git ALSA: hda - add bounds checking for the codec command fields A recent bug involves passing auto detected >0x7f NID to codec command, creating an invalid codec addr field, and finally lead to cmd timeout and fall back into single command mode. Jaroslav fixed that bug in alc880_parse_auto_config(). It would be safer to further check the bounds of all cmd fields. Cc: Jaroslav Kysela Signed-off-by: Wu Fengguang Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed