summaryrefslogtreecommitdiffstats
path: root/MAINTAINERS
diff options
context:
space:
mode:
authorTakashi Iwai2011-10-13 08:19:09 +0200
committerTakashi Iwai2011-10-13 08:19:09 +0200
commitd09c06c6fc240261dde65198774b279d89c35459 (patch)
treeefd2c6881892a6b0ced0b29743a85d814721af17 /MAINTAINERS
parentALSA: snd-usb-caiaq: Add support for Maschine (diff)
downloadkernel-qcow2-linux-d09c06c6fc240261dde65198774b279d89c35459.tar.gz
kernel-qcow2-linux-d09c06c6fc240261dde65198774b279d89c35459.tar.xz
kernel-qcow2-linux-d09c06c6fc240261dde65198774b279d89c35459.zip
ALSA: usb-audio - Fix possible access over audio_feature_info[] array
The audio_feature_info[] array should contain all entries for UAC2_FU_*, but currently a few last entries are missing. Even though, the driver tries to probe these entries in parse_audio_feature_unit() and may access the range over the array. This patch fixes the bug by limiting the loop size properly using ARRAY_SIZE() instead of a hard-coded magic number. Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions