Re: [PATCH] ASoC: qcom: sm8250: Fix array out of bounds access

2020-10-28 Thread Colin Ian King
On 28/10/2020 14:20, Srinivas Kandagatla wrote: > 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:

[PATCH] ASoC: qcom: sm8250: Fix array out of bounds access

2020-10-28 Thread Srinivas Kandagatla
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: aa2e2785545a ("ASoC: qcom: sm8250: add sound card qrb5165-rb5 support")

Re: [PATCH] ASoC: qcom: sm8250: Fix array out of bounds access

2020-10-28 Thread Mark Brown
On Wed, 28 Oct 2020 14:20:01 +, Srinivas Kandagatla wrote: > 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.