ALSA: asihpi: a couple array out of bounds issues
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 13 Sep 2013 07:44:44 +0000 (10:44 +0300)
committerTakashi Iwai <tiwai@suse.de>
Fri, 13 Sep 2013 12:31:51 +0000 (14:31 +0200)
These ->put() functions are called from snd_ctl_elem_write() with user
supplied data.  snd_asihpi_tuner_band_put() is missing a limit check and
the check in snd_asihpi_clksrc_put() can underflow.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>

No differences found