acrn-kernel/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
..
Kconfig
Makefile
brownstone.c
corgi.c
e740_wm9705.c
e750_wm9705.c
e800_wm9712.c
em-x270.c
hx4700.c
magician.c
mioa701_wm9713.c
mmp-pcm.c
mmp-sspa.c
mmp-sspa.h
palm27x.c
poodle.c
pxa-ssp.c
pxa-ssp.h
pxa2xx-ac97.c
pxa2xx-i2s.c
pxa2xx-i2s.h
pxa2xx-pcm.c
spitz.c
tosa.c
ttc-dkb.c
z2.c
zylonite.c