diff options
author | Brent Lu <brent.lu@intel.com> | 2022-07-01 22:15:17 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-07-07 17:16:37 +0100 |
commit | c7dab6745f4288af1e45d3809bf86a3778301616 (patch) | |
tree | b3fa63a912383697828b759dc2454a13c2c0c45c /sound/usb/Makefile | |
parent | df5b4aca7248dc5a5cae93f162eae0decf972e48 (diff) |
ASoC: Intel: sof_rt5682: fix out-of-bounds array access
Starting from ADL platform we have four HDMI PCM devices which exceeds
the size of sof_hdmi array. Since each sof_hdmi_pcm structure
represents one HDMI PCM device, we remove the sof_hdmi array and add a
new member hdmi_jack to the sof_hdmi_pcm structure to fix the
out-of-bounds problem.
Signed-off-by: Brent Lu <brent.lu@intel.com>
Reviewed-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Link: https://lore.kernel.org/r/20220701141517.264070-1-brent.lu@intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/usb/Makefile')
0 files changed, 0 insertions, 0 deletions