WSL2-Linux-Kernel/sound/soc/pxa
Zeng Heng 83baa50939 ASoC: pxa: fix null-pointer dereference in filter()
[ Upstream commit ec7bf231aa ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-12-31 13:14:09 +01:00
..
Kconfig ASoC: Fix 7/8 spaces indentation in Kconfig 2020-11-17 17:08:45 +00:00
Makefile
brownstone.c ASoC: pxa: use asoc_substream_to_rtd() 2020-07-23 19:07:27 +01:00
corgi.c ASoC: pxa: use asoc_substream_to_rtd() 2020-07-23 19:07:27 +01:00
e740_wm9705.c Linux 5.2-rc6 2019-06-26 12:39:34 +01:00
e750_wm9705.c Linux 5.2-rc6 2019-06-26 12:39:34 +01:00
e800_wm9712.c Linux 5.2-rc6 2019-06-26 12:39:34 +01:00
em-x270.c Linux 5.2-rc6 2019-06-26 12:39:34 +01:00
hx4700.c ASoC: pxa: use asoc_substream_to_rtd() 2020-07-23 19:07:27 +01:00
imote2.c ASoC: pxa: use asoc_substream_to_rtd() 2020-07-23 19:07:27 +01:00
magician.c ASoC: pxa: use asoc_substream_to_rtd() 2020-07-23 19:07:27 +01:00
mioa701_wm9713.c ASoC: pxa: rename to snd_soc_component_read() 2020-06-22 15:13:38 +01:00
mmp-pcm.c ASoC: pxa: fix null-pointer dereference in filter() 2022-12-31 13:14:09 +01:00
mmp-sspa.c ASoC: mmp-sspa: drop unneeded snd_soc_dai_set_drvdata 2021-03-10 13:07:05 +00:00
mmp-sspa.h ASoC: mmp-sspa: Add Device Tree support 2020-05-19 20:52:49 +01:00
palm27x.c Linux 5.2-rc6 2019-06-26 12:39:34 +01:00
poodle.c ASoC: pxa: use asoc_substream_to_rtd() 2020-07-23 19:07:27 +01:00
pxa-ssp.c ALSA: pxa2xx: Use managed PCM buffer allocation 2021-08-04 08:08:21 +02:00
pxa-ssp.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
pxa2xx-ac97.c ALSA: pxa2xx: Use managed PCM buffer allocation 2021-08-04 08:08:21 +02:00
pxa2xx-i2s.c ALSA: pxa2xx: Use managed PCM buffer allocation 2021-08-04 08:08:21 +02: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
spitz.c ASoC: pxa: use asoc_substream_to_rtd() 2020-07-23 19:07:27 +01:00
tosa.c ASoC: pxa: use asoc_substream_to_rtd() 2020-07-23 19:07:27 +01:00
ttc-dkb.c ASoC: pxa: use asoc_rtd_to_cpu() / asoc_rtd_to_codec() macro for DAI pointer 2020-03-27 14:44:43 +00:00
z2.c ASoC: pxa: use asoc_substream_to_rtd() 2020-07-23 19:07:27 +01:00
zylonite.c ASoC: pxa: use asoc_substream_to_rtd() 2020-07-23 19:07:27 +01:00