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

Skip to content
Commit 852f0007 authored by Vidyakumar Athota's avatar Vidyakumar Athota
Browse files

soc: qcom: fix to avoid memory allocation failures



Currenlty wdsp_glink_write() API allocates 256KB buffer and free
after it is transferred to glink. But this may result in memory
allocation failures in low memory situations. Fix this issue by
allocating the required size and validate it to avoid overflow.

Change-Id: I891e4361aa5f24c5a518b3acb1d7cf6a9baa5bdf
Signed-off-by: default avatarVidyakumar Athota <vathota@codeaurora.org>
parent 1c450066
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