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: NDan Carpenter <dan.carpenter@oracle.com> Signed-off-by: NMark Brown <broonie@linaro.org> Cc: stable@vger.kernel.org
Showing
想要评论请 注册 或 登录