ALSA: dice: fix array limits in dice_proc_read()
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 29 Nov 2013 08:14:09 +0000 (11:14 +0300)
committerTakashi Iwai <tiwai@suse.de>
Fri, 29 Nov 2013 09:23:04 +0000 (10:23 +0100)
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 <dan.carpenter@oracle.com>
Acked-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>

No differences found