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

Skip to content
Commit 2b0c9958 authored by Vikram Panduranga's avatar Vikram Panduranga
Browse files

asoc: msm-pcm: move null ptr check after lock



Null pointer for runtime is checked before acquiring the lock.
By the time, it acquires lock and tries to access private
data runtime may be removed which can lead to null ptr
dereference.

Change-Id: I86ca89bd7dbd765c040bab2a292f62c2d3164140
Signed-off-by: default avatarVikram Panduranga <vpandura@codeaurora.org>
parent 2ef0c88a
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