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

Commit 0b640c48 authored by Karthik Reddy Katta's avatar Karthik Reddy Katta
Browse files

ASoC: wcd-mbhc: Add pointer validation checks in wcd-mbhc-v2.c



Check if 'mbhc_cb' is NULL in wcd_mbhc_stop() before
dereferrencing.

CRs-Fixed: 972101
Change-Id: I3b2348bddb071e5bf7bc2e5d6885bb3c1ba2c195
Signed-off-by: default avatarKarthik Reddy Katta <a_katta@codeaurora.org>
parent ac263d37
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