diff options
author | Cezary Rojewski <[email protected]> | 2022-10-10 14:19:42 +0200 |
---|---|---|
committer | Mark Brown <[email protected]> | 2022-10-17 12:50:05 +0100 |
commit | 23ae34e033b2c0e5e88237af82b163b296fd6aa9 (patch) | |
tree | fb9a1455ade7e5d4095c5946bed144264b0f635a /tools/perf/scripts/python | |
parent | 83375566a7a7042cb34b24986d100f46bfa0c1e5 (diff) |
ASoC: Intel: avs: Fix potential RX buffer overflow
If an event caused firmware to return invalid RX size for
LARGE_CONFIG_GET, memcpy_fromio() could end up copying too many bytes.
Fix by utilizing min_t().
Reported-by: CoolStar <[email protected]>
Fixes: f14a1c5a9f83 ("ASoC: Intel: avs: Add module management requests")
Signed-off-by: Cezary Rojewski <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions