]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Intel: Skylake: Fix potential null pointer dereference
authorguneshwor.o.singh@intel.com <guneshwor.o.singh@intel.com>
Fri, 28 Jul 2017 10:42:16 +0000 (16:12 +0530)
committerMark Brown <broonie@kernel.org>
Tue, 1 Aug 2017 12:34:09 +0000 (13:34 +0100)
commit5d94f9173eca8fca11e4c6398df7fe51542bdcd4
tree0b263c70af557d0b80640260783fb0e05f5791cd
parenta8ba4102ad38346cbba6ab99b9bc3a439d220123
ASoC: Intel: Skylake: Fix potential null pointer dereference

Check if the next sink is not null to avoid potential null pointer
dereference in skl_tplg_bind_sinks().

Signed-off-by: Guneshwor Singh <guneshwor.o.singh@intel.com>
Acked-By: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/skylake/skl-topology.c