From: Dan Carpenter Date: Wed, 27 Jul 2011 12:02:26 +0000 (+0300) Subject: ALSA: asihpi - off by one in asihpi_hpi_ioctl() X-Git-Tag: v3.1-rc1~132^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae6ff61e43fe4f348a7f764ff0c13fb4240da7b8;p=pandora-kernel.git ALSA: asihpi - off by one in asihpi_hpi_ioctl() "adapter" is used as an array index in the adapters[] array so the off by one would make us read past the end. 1c073b67979 "ALSA: asihpi - Remove spurious adapter index check" reverted Dan Rosenberg's check that would have prevented the overflow here. Signed-off-by: Dan Carpenter Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed