diff options
author | Richard Fitzgerald <rf@opensource.wolfsonmicro.com> | 2016-12-20 10:29:12 +0000 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-12-20 11:38:49 +0000 |
commit | 1cab2a84f470e15ecc8e5143bfe9398c6e888032 (patch) | |
tree | 2ce157df842149394a8fef82b70d17f336e48947 /include/sound | |
parent | fb4587da5b1da8415a716193522c395280b4049b (diff) | |
download | linux-1cab2a84f470e15ecc8e5143bfe9398c6e888032.tar.bz2 |
ASoC: wm_adsp: Don't overrun firmware file buffer when reading region data
Protect against corrupt firmware files by ensuring that the length we
get for the data in a region actually lies within the available firmware
file data buffer.
Signed-off-by: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound')
0 files changed, 0 insertions, 0 deletions