commit | ae6ff61e43fe4f348a7f764ff0c13fb4240da7b8 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <error27@gmail.com> | Wed Jul 27 15:02:26 2011 +0300 |
committer | Takashi Iwai <tiwai@suse.de> | Wed Jul 27 16:06:16 2011 +0200 |
tree | b2c379feee2bfc5f8a632c9cbd872e5e26a04ba3 | |
parent | 60a6a8425a84fa46a3831ce79197640b8224311b [diff] |
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 <error27@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>