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

Commit ff15aaf4 authored by Sathish Ambley's avatar Sathish Ambley
Browse files

msm: ADSPRPC: Validate buffer size



Ensure that the size of buffer being allocated is not
negative to avoid allocating a smaller buffer and hence
causing buffer overflow conditions.

Change-Id: I150c379471564731771e2bd33d804fd26c793e25
Acked-by: default avatarBharath Kumar <bkumar@qti.qualcomm.com>
Signed-off-by: default avatarSathish Ambley <sathishambley@codeaurora.org>
parent 9fffca4f
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