diff options
author | Richard Fitzgerald <rf@opensource.wolfsonmicro.com> | 2016-12-20 13:29:12 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-12-20 14:38:49 +0300 |
commit | 1cab2a84f470e15ecc8e5143bfe9398c6e888032 (patch) | |
tree | 2ce157df842149394a8fef82b70d17f336e48947 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | fb4587da5b1da8415a716193522c395280b4049b (diff) | |
download | linux-1cab2a84f470e15ecc8e5143bfe9398c6e888032.tar.xz |
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 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions