Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8914f7b8 authored by Vidyakumar Athota's avatar Vidyakumar Athota
Browse files

ASoC: msm: qdsp6v2: add size check to fix out of bounds issue



Before calling audio calibration ioctl functions, compare the
allocated buffer size to the size of the header and cal type header
to ensure the buffer is big enough.

Change-Id: I601bb37ddcc34d459c207cf579f29744fe912d7b
Signed-off-by: default avatarVidyakumar Athota <vathota@codeaurora.org>
parent 560a996d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment