linux-stable/sound/soc/intel/common
Amadeusz Sławiński ad884155fb ASoC: Intel: Fix use of potentially uninitialized variable
commit 810f3b8608 upstream.

If ipc->ops.reply_msg_match is NULL, we may end up using uninitialized
mask value.

reported by smatch:
sound/soc/intel/common/sst-ipc.c:266 sst_ipc_reply_find_msg() error: uninitialized symbol 'mask'.

Signed-off-by: Amadeusz Sławiński <amadeuszx.slawinski@intel.com>
Link: https://lore.kernel.org/r/20190827141712.21015-3-amadeuszx.slawinski@linux.intel.com
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-10-05 13:10:06 +02:00
..
Makefile ASoC: Intel: move SKL+ codec ACPI tables to common directory 2018-06-19 15:47:02 +01:00
soc-acpi-intel-bxt-match.c ASoC: Intel: common: add entries for SOF-based machine drivers 2018-06-19 15:47:14 +01:00
soc-acpi-intel-byt-match.c ASoC: Intel: common: rename 'reef' to 'sof' in ACPI matching table 2018-06-21 11:58:31 +01:00
soc-acpi-intel-cht-match.c ASoC: Intel: common: fix missing rename from 'reef' to 'sof' 2018-06-22 15:44:54 +01:00
soc-acpi-intel-cnl-match.c ASoC: Intel: common: add firmware/topology information for SOF 2018-06-19 15:47:10 +01:00
soc-acpi-intel-glk-match.c ASoC: Intel: common: add firmware/topology information for SOF 2018-06-19 15:47:10 +01:00
soc-acpi-intel-hsw-bdw-match.c ASoC: Intel: common: rename 'reef' to 'sof' in ACPI matching table 2018-06-21 11:58:31 +01:00
soc-acpi-intel-kbl-match.c ASoC: Intel: move SKL+ codec ACPI tables to common directory 2018-06-19 15:47:02 +01:00
soc-acpi-intel-skl-match.c ASoC: Intel: move SKL+ codec ACPI tables to common directory 2018-06-19 15:47:02 +01:00
sst-acpi.c ASoC: Intel: move all ACPI match tables to common module 2017-10-21 11:21:31 +01:00
sst-dsp-priv.h treewide: correct "differenciate" and "instanciate" typos 2018-08-23 18:48:43 -07:00
sst-dsp.c ASoC: Intel: Skylake: Remove second shim read in register_poll 2017-12-06 17:44:50 +00:00
sst-dsp.h ASoC: intel: Fix sst-dsp dependency on dw stuff 2016-07-11 18:19:23 +01:00
sst-firmware.c ASoC: Intel: avoid Oops if DMA setup fails 2019-05-10 17:54:11 +02:00
sst-ipc.c ASoC: Intel: Fix use of potentially uninitialized variable 2019-10-05 13:10:06 +02:00
sst-ipc.h ASoC: intel: Replace kthread with work 2016-11-30 17:41:13 +00:00