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:
Shiv Maliyappanahalli <smaliyap@codeaurora.org>
Loading
Please sign in to comment