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

Commit 37c887c4 authored by Soumya Managoli's avatar Soumya Managoli Committed by Gerrit - the friendly Code Review server
Browse files

ASoC: msm: Modify buf size check to prevent OOB error



Expected buffer size to read is 2 bytes.
Corrected the size check to return error
when count is not 2.

Change-Id: I43b572d191f6f98a8a790b5ae77b43fabcd7329a
Signed-off-by: default avatarSoumya Managoli <smanag@codeaurora.org>
parent 3855ba97
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