diff options
author | Pankaj Bharadiya <pankaj.laxminarayan.bharadiya@intel.com> | 2019-03-22 18:00:09 +0530 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-03-25 12:20:15 +0000 |
commit | cacea3a90e211f0c111975535508d446a4a928d2 (patch) | |
tree | 6d9b85cb3306ef8345eb28a435a9887f5e2e9ec9 /kernel | |
parent | 8f71370f4b02730e8c27faf460af7a3586e24e1f (diff) | |
download | linux-cacea3a90e211f0c111975535508d446a4a928d2.tar.bz2 |
ASoC: dapm: Fix NULL pointer dereference in snd_soc_dapm_free_kcontrol
w_text_param can be NULL and it is being dereferenced without checking.
Add the missing sanity check to prevent NULL pointer dereference.
Signed-off-by: Pankaj Bharadiya <pankaj.laxminarayan.bharadiya@intel.com>
Acked-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions