From: Dan Carpenter Date: Fri, 29 Nov 2013 08:14:09 +0000 (+0300) Subject: ALSA: dice: fix array limits in dice_proc_read() X-Git-Tag: v3.13-rc3~12^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4d6ff250857a8b5f8e33ea62ff16f165085f8655;p=pandora-kernel.git ALSA: dice: fix array limits in dice_proc_read() The array limits are supposed to be in units of u32 instead of in bytes. The current code has a potential array overflow. Fixes: c614475b0ea9 ('ALSA: dice: add a proc file to show device information') Signed-off-by: Dan Carpenter Acked-by: Clemens Ladisch Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed