Re: [PATCH 1/2] ASoC: qdsp6: q6asm-dai: Off by one in of_q6asm_parse_dai_data()

Srinivas Kandagatla
2018-12-21T12:31:13Z

On 21/12/2018 09:04, Dan Carpenter wrote:
> The q6asm_fe_dais[] array has MAX_SESSIONS (8) elements so the >
> comparison should be >= or we access one element beyond the end of the
> array.
>
> Fixes: 22930c79ac5c ("ASoC: qdsp6: q6asm-dai: Add support to compress offload")
> Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
> ---

Thanks for the patch!

Acked-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>