Skip to content
Snippets Groups Projects
Commit f3adbf75 authored by Aravind Kumar's avatar Aravind Kumar Committed by Stuart Scott
Browse files

ASoC: msm: qdsp6v2: check audio client pointer before accessing


In the registered callback for q6asm, we are checking if
the audio client pointer is valid and also, dereferencing it
to get the session ID even though it could be invalid or expired.
Return and exit immediately if the audio client pointer is
invalid.

Bug: 36252027
CRs-Fixed: 832914
Change-Id: I96b722b584a4b5adf8a33891abd75a320e76ea25
Signed-off-by: default avatarAravind Kumar <akumark@codeaurora.org>
Signed-off-by: default avatarSiqi Lin <siqilin@google.com>
parent d8dcf2cb
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment