ASoC: topology: Check widget kcontrols before deref
authorLiam Girdwood <liam.r.girdwood@linux.intel.com>
Tue, 27 Mar 2018 13:30:44 +0000 (14:30 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 17 Apr 2018 17:06:54 +0000 (18:06 +0100)
commitf53c4c20d6d38bcefd89bfcab135486cbb797884
tree91cac6961fc03936104a64b610b70a29bc8fa88f
parentfeb12f0cd8d7b1e8df2e6fce19fc9a026a468cc2
ASoC: topology: Check widget kcontrols before deref

Validate the topology input before we dereference the pointer.

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-topology.c