Skip to content
Snippets Groups Projects
Commit dfa97e03 authored by Ashish Jain's avatar Ashish Jain Committed by nevill_jiang
Browse files

ASoC: msm: qdsp6v2: DAP: Update check to validate data length


A big negative data length value can bypass the current check,
update the condition to ensure that only valid data length is used
to copy the params.

CRs-Fixed: 1041130
Change-Id: I6e1a58e901e4c042acfb0ab0a6223dec2949aefe
Signed-off-by: default avatarAshish Jain <ashishj@codeaurora.org>
parent ad0ead34
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 register or to comment