commit | f8d7b13e14357ed19d2ca2799539600418dc3939 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Fri Sep 13 10:52:14 2013 +0300 |
committer | Mark Brown <broonie@linaro.org> | Fri Sep 13 18:33:18 2013 +0100 |
tree | b6f30ee8113bddf7e287cabb9aa9fb68443d25b4 | |
parent | 5df498a27ab385294fdb7cad19c623d4da94a780 [diff] |
ASoC: max98095: a couple array underflows 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