linux/sound/soc/pxa
Zeng Heng ec7bf231aa
ASoC: pxa: fix null-pointer dereference in filter()
kasprintf() would return NULL pointer when kmalloc() fail to allocate.
Need to check the return pointer before calling strcmp().

Fixes: 7a824e214e ("ASoC: mmp: add audio dma support")
Signed-off-by: Zeng Heng <zengheng4@huawei.com>
Link: https://lore.kernel.org/r/20221114085629.1910435-1-zengheng4@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2022-11-14 11:30:30 +00:00
..
brownstone.c ASoC: pxa: use asoc_substream_to_rtd() 2020-07-23 19:07:27 +01:00
corgi.c ARM: pxa: corgi: use gpio descriptors for audio 2022-05-07 22:55:47 +02:00
e740_wm9705.c ARM: pxa: eseries: use gpio lookup for audio 2022-05-07 22:55:48 +02:00
e750_wm9705.c ARM: pxa: eseries: use gpio lookup for audio 2022-05-07 22:55:48 +02:00
e800_wm9712.c ARM: pxa: eseries: use gpio lookup for audio 2022-05-07 22:55:48 +02:00
em-x270.c ARM: pxa: move mach/sound.h to linux/platform_data/ 2022-04-19 16:28:41 +02:00
hx4700.c ARM: multiplatform changes, part 2 2022-06-02 15:23:54 -07:00
Kconfig ASoC: wm8731: Factor out the I2C and SPI bus code into separate modules 2022-04-04 08:39:32 +01:00
magician.c ASoC: pxa: Update to use set_fmt_new callback 2022-06-06 12:33:41 +01:00
Makefile ARM: pxa: remove Intel Imote2 and Stargate 2 boards 2022-02-28 15:08:14 +01:00
mioa701_wm9713.c ARM: pxa: move mach/sound.h to linux/platform_data/ 2022-04-19 16:28:41 +02:00
mmp-pcm.c ASoC: pxa: fix null-pointer dereference in filter() 2022-11-14 11:30:30 +00:00
mmp-sspa.c ASoC: pxa: Migrate to new style legacy DAI naming flag 2022-06-27 13:16:40 +01:00
mmp-sspa.h ASoC: mmp-sspa: Add Device Tree support 2020-05-19 20:52:49 +01:00
palm27x.c ARM: multiplatform changes, part 2 2022-06-02 15:23:54 -07:00
poodle.c ARM: pxa: poodle: use platform data for poodle asoc driver 2022-05-07 22:55:47 +02:00
pxa2xx-ac97.c ASoC: pxa: use pdev resource for FIFO regs 2022-05-07 22:55:49 +02:00
pxa2xx-i2s.c ASoC: pxa: Migrate to new style legacy DAI naming flag 2022-06-27 13:16:40 +01:00
pxa2xx-i2s.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
pxa2xx-pcm.c ALSA: pxa2xx: Use managed PCM buffer allocation 2021-08-04 08:08:21 +02:00
pxa-ssp.c ASoC: pxa: Migrate to new style legacy DAI naming flag 2022-06-27 13:16:40 +01:00
pxa-ssp.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
spitz.c ARM: pxa: spitz: use gpio descriptors for audio 2022-05-07 22:55:47 +02:00
tosa.c ARM/pxa/mfd/power/sound: Switch Tosa to GPIO descriptors 2022-05-07 22:55:33 +02:00
ttc-dkb.c ASoC: soc-card: Create jack kcontrol without pins 2022-04-14 17:37:21 +01:00
z2.c ARM: multiplatform changes, part 2 2022-06-02 15:23:54 -07:00
zylonite.c ASoC: pxa: use asoc_substream_to_rtd() 2020-07-23 19:07:27 +01:00