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

Commit 49662914 authored by Timothy Sham's avatar Timothy Sham
Browse files

soc: msm: add size check to fix out of bounds on ANC



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

Change-Id: I8fcd0a830853d802bbb11fc243a4d392fbe384f3
Signed-off-by: default avatarTimothy Sham <tsham@codeaurora.org>
parent 5cb5749c
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