aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/intel/skylake
diff options
context:
space:
mode:
authorCezary Rojewski <cezary.rojewski@intel.com>2019-06-13 21:04:34 +0200
committerMark Brown <broonie@kernel.org>2019-06-25 15:33:50 +0100
commit9f4f42d710d417745cff05845f93370126f77ff7 (patch)
tree371ea0c8797702d7188a8fd865841d9081d3b793 /sound/soc/intel/skylake
parentASoC: Intel: Fix race condition in IPC rx list (diff)
downloadlinux-dev-9f4f42d710d417745cff05845f93370126f77ff7.tar.xz
linux-dev-9f4f42d710d417745cff05845f93370126f77ff7.zip
ASoC: Intel: Common: Fix NULL dereference in tx_wait_done
rx_data and rx_bytes present for tx_wait_done are optional parameters. If not provided, function should not attempt to copy received data. This change fixes memcpy NULL pointer dereference issue occurring when optional rx_data is NULL while received message size is non-zero. Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com> Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/intel/skylake')
0 files changed, 0 insertions, 0 deletions