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

Skip to content
Commit 2ff807f4 authored by Iliya Varadzhakov's avatar Iliya Varadzhakov Committed by Stephen Boyd
Browse files

msm:cpp: Check number of buffers before allocate stream_info



Number of buffers used by cpp is defined by user space. In
case this number is ZERO the allocated memory space will be
pointed by ZERO_SIZE_PTR. Referencing ZERO_SIZE_PTR, causes
same type of behavior as referencing the NULL pointer

Change-Id: I42665225c7d055cda6749198c35e94c1442c6d3e
Signed-off-by: default avatarIliya Varadzhakov <ivarad@codeaurora.org>
parent 83a26111
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