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

Commit 39eb3874 authored by Viraja Kommaraju's avatar Viraja Kommaraju
Browse files

ASoC: qdsp6v2: Add error check for pointer and array index



Add NULL check for the pointer to make sure memory is
allocated. Add array boundary check for the index
before using the same array.

Change-Id: Ifd35ca0c0a1cbeee18d7797ea6b43ea31be0eeba
Signed-off-by: default avatarViraja Kommaraju <virajak@codeaurora.org>
parent 769d7b09
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