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
corgi.c
e740_wm9705.c
e750_wm9705.c
e800_wm9712.c
em-x270.c
hx4700.c
Kconfig
magician.c
Makefile
mioa701_wm9713.c
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
palm27x.c
poodle.c
pxa-ssp.c ASoC: pxa: Migrate to new style legacy DAI naming flag 2022-06-27 13:16:40 +01:00
pxa-ssp.h
pxa2xx-ac97.c
pxa2xx-i2s.c ASoC: pxa: Migrate to new style legacy DAI naming flag 2022-06-27 13:16:40 +01:00
pxa2xx-i2s.h
pxa2xx-pcm.c
spitz.c
tosa.c
ttc-dkb.c
z2.c
zylonite.c