Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Signed-off-by: Mark Brown <[email protected]> Cc: [email protected]
- Loading branch information