commit | 1cab2a84f470e15ecc8e5143bfe9398c6e888032 | [log] [tgz] |
---|---|---|
author | Richard Fitzgerald <rf@opensource.wolfsonmicro.com> | Tue Dec 20 10:29:12 2016 +0000 |
committer | Mark Brown <broonie@kernel.org> | Tue Dec 20 11:38:49 2016 +0000 |
tree | 2ce157df842149394a8fef82b70d17f336e48947 | |
parent | fb4587da5b1da8415a716193522c395280b4049b [diff] |
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>