ASoC: max98095: a couple array underflows
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 13 Sep 2013 07:52:14 +0000 (10:52 +0300)
committerMark Brown <broonie@linaro.org>
Fri, 13 Sep 2013 17:33:18 +0000 (18:33 +0100)
The ->put() function are called from snd_ctl_elem_write() with user
supplied data.  The limit checks here could underflow leading to a
crash.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Cc: stable@vger.kernel.org

No differences found