ASoC: topology: Check widget kcontrols before deref.
authorLiam Girdwood <liam.r.girdwood@linux.intel.com>
Wed, 14 Mar 2018 20:42:40 +0000 (20:42 +0000)
committerMark Brown <broonie@kernel.org>
Mon, 19 Mar 2018 07:12:54 +0000 (15:12 +0800)
commit05bdcf12905533b8628627b6634608cd3b57c607
tree65c984ba3432cf16ae511dd9dae9191acaf47c6e
parentbde8b3887add8368ecf0ca71117baf2fd56a6fc9
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