WSL2-Linux-Kernel/sound/soc/spear
Prasad Joshi fd4fb262b3 ASoC: spear: correct the check for NULL dma_buffer pointer
The if condition
	if (!buf && !buf->area)

checks if the buf pointer is NULL and then dereferences it again to
check if the buffer area is NULL, resulting in possible NULL
dereference.

Signed-off-by: Prasad Joshi <prasadjoshi.linux@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2012-08-31 14:24:52 -07:00
..
spdif_in.c ASoC: SPEAr spdif_in: Add spdif IN support 2012-06-23 11:58:10 +01:00
spdif_in_regs.h ASoC: SPEAr spdif_in: Add spdif IN support 2012-06-23 11:58:10 +01:00
spdif_out.c ASoC: SPEAr spdif_out: Add spdif out support 2012-07-04 12:34:28 +01:00
spdif_out_regs.h ASoC: SPEAr spdif_out: Add spdif out support 2012-07-04 12:34:28 +01:00
spear_pcm.c ASoC: spear: correct the check for NULL dma_buffer pointer 2012-08-31 14:24:52 -07:00