Commit 0f6c1dba authored by Shiv Maliyappanahalli's avatar Shiv Maliyappanahalli
Browse files

ASoc: msm: Fix Null dereferencing and variable initialization



Dereferencing of elements stored in array 'buf' without checking if
buf is NULL will cause a crash.

Variable 'ret' should be intialized before use.

Change-Id: Ic927233009d12314251f2966ab5516ce4b2652d8
Signed-off-by: default avatarShiv Maliyappanahalli <smaliyap@codeaurora.org>
parent ffc26521
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment