linux-stable/sound/soc/intel
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
..
atom ASoC: intel: Fix crash at suspend/resume after failed codec registration 2019-04-17 08:38:51 +02:00
baytrail ASoC: intel: baytrail: replace platform to component 2018-02-12 11:45:10 +00:00
boards ASoC: Intel: cht_bsw_max98090_ti: Enable codec clock once and keep it enabled 2019-10-01 08:26:05 +02:00
common ASoC: Intel: Fix use of potentially uninitialized variable 2019-10-05 13:10:06 +02:00
haswell ASoC: Intel: Haswell: fix endianness handling 2018-07-25 17:21:07 +01:00
skylake ASoC: Intel: Skylake: Use correct function to access iomem space 2019-10-05 13:10:06 +02:00
Kconfig ASoC: Intel: Disable SND_SOC_INTEL_BAYTRAIL when SND_SST_ATOM_HIFI2_PLATFORM is enabled 2018-04-19 13:12:36 +01:00
Makefile ASoC: Intel: Fix Kconfig with top-level selector 2018-01-08 16:18:48 +00:00