2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-19 10:44:14 +08:00
linux-next/sound/soc/intel
Christian Engelmayer 279e17ae81 ASoC: Intel: sst: Fix firmware name size handling
Function sst_acpi_probe() uses plain strcpy for setting member firmware_name
of a struct intel_sst_drv from member firmware of a struct sst_machines.
Thereby the destination array has got a length of 20 byte while the source may
hold 32 byte. Since eg. commit 64b9c90b86 ("ASoC: Intel: Fix BYTCR firmware
name") increased strings from "fw_sst_0f28.bin" to "intel/fw_sst_0f28.bin"
there is an actual possibility that the 20 byte array at the end of struct
intel_sst_drv is overrun.

Thus increase the size of the destination and use the same define for both
structs. Detected by Coverity CID 1260087.

Signed-off-by: Christian Engelmayer <cengelma@gmx.at>
Signed-off-by: Mark Brown <broonie@kernel.org>
Cc: stable@vger.kernel.org
2015-02-08 11:08:27 +08:00
..
sst ASoC: Intel: sst: Fix firmware name size handling 2015-02-08 11:08:27 +08:00
broadwell.c Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
byt-max98090.c ASoC: intel: drop owner assignment from platform_drivers 2014-10-20 16:22:09 +02:00
byt-rt5640.c ASoC: intel: drop owner assignment from platform_drivers 2014-10-20 16:22:09 +02:00
bytcr_dpcm_rt5640.c ASoC: Intel: Fix BYTCR machine driver MODULE_ALIAS 2014-12-22 15:08:01 +00:00
cht_bsw_rt5672.c ASoC: Intel: Add Cherrytrail & Braswell machine driver cht_bsw_rt5672 2014-11-21 19:23:01 +00:00
haswell.c Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
Kconfig ASoC: Intel: Add I2C dependency to two new machines 2014-12-22 12:35:37 +00:00
Makefile ASoC: Intel: Add Cherrytrail & Braswell machine driver cht_bsw_rt5672 2014-11-21 19:23:01 +00:00
mfld_machine.c ASoC: intel: drop owner assignment from platform_drivers 2014-10-20 16:22:09 +02:00
sst-acpi.c ASoC: intel: drop owner assignment from platform_drivers 2014-10-20 16:22:09 +02:00
sst-atom-controls.c ASoC: Intel: mrfld - remove unnecessary check for pointer 2014-11-06 12:36:17 +00:00
sst-atom-controls.h ASoC: Intel: mrfld: add DSP core controls 2014-10-20 12:20:33 +01:00
sst-baytrail-dsp.c ASoC: Intel: Make ADSP memory block allocation more generic 2014-10-28 22:25:02 +00:00
sst-baytrail-ipc.c Merge remote-tracking branches 'asoc/fix/arizona', 'asoc/fix/fsl', 'asoc/fix/fsl-esai', 'asoc/fix/intel', 'asoc/fix/mcasp' and 'asoc/fix/pxa' into asoc-linus 2014-08-15 12:51:29 +01:00
sst-baytrail-ipc.h ASoC: Intel: Merge Baytrail ADSP suspend_noirq into suspend_late 2014-08-11 13:40:23 +01:00
sst-baytrail-pcm.c ASoC: intel: drop owner assignment from platform_drivers 2014-10-20 16:22:09 +02:00
sst-dsp-priv.h ASoC: Intel: Add generic support for DSP wake, sleep and stall 2014-10-29 16:56:55 +00:00
sst-dsp.c ASoC: Intel: Add generic support for DSP wake, sleep and stall 2014-10-29 16:56:55 +00:00
sst-dsp.h ASoC: Intel: Work around to fix HW D3 potential crash issue 2014-10-30 17:06:21 +00:00
sst-firmware.c ASoC: Intel: Don't change offset of block allocator during fixed allocate 2015-01-05 20:00:20 +00:00
sst-haswell-dsp.c ASoC: Intel: Work around to fix HW D3 potential crash issue 2014-10-30 17:06:21 +00:00
sst-haswell-ipc.c ASoC: Intel: Used lock version to update shim registers 2015-01-27 18:36:22 +00:00
sst-haswell-ipc.h ASoC: Intel: Fix stream volume set no effect issue on Broadwell 2014-11-25 13:08:04 +00:00
sst-haswell-pcm.c sound: sst-haswell-pcm: Replace CONFIG_PM_RUNTIME with CONFIG_PM 2014-12-19 15:26:46 +01:00
sst-mfld-dsp.h ASoC: Intel: mfld: add dsp error codes 2014-07-14 19:44:47 +01:00
sst-mfld-platform-compress.c ASoC: mfld-compress: implement .power callback 2014-10-31 12:51:59 +00:00
sst-mfld-platform-pcm.c Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
sst-mfld-platform.h ASoC: mfld-compress: implement .power callback 2014-10-31 12:51:59 +00:00