diff options
author | Srinivas Kandagatla <[email protected]> | 2021-03-09 14:21:27 +0000 |
---|---|---|
committer | Mark Brown <[email protected]> | 2021-03-10 12:51:09 +0000 |
commit | 1c668e1c0a0f74472469cd514f40c9012b324c31 (patch) | |
tree | aa5159666d0e38769ecb6819fe695bce856b2856 /scripts/gdb/linux/tasks.py | |
parent | 7c2a783c05b5821c54e686518d518f179372b8a8 (diff) |
ASoC: qcom: sdm845: Fix array out of bounds access
Static analysis Coverity had detected a potential array out-of-bounds
write issue due to the fact that MAX AFE port Id was set to 16 instead
of using AFE_PORT_MAX macro.
Fix this by properly using AFE_PORT_MAX macro.
Fixes: 1b93a8843147 ("ASoC: qcom: sdm845: handle soundwire stream")
Reported-by: John Stultz <[email protected]>
Signed-off-by: Srinivas Kandagatla <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions