[alsa-devel] [PATCH] ASoC: correct the check for NULL dma_buffer pointer

Mark Brown broonie at opensource.wolfsonmicro.com
Fri Aug 31 23:24:36 CEST 2012

On Fri, Aug 31, 2012 at 08:55:21AM +0530, Prasad Joshi wrote:
> 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.

Applied, thanks.

More information about the Alsa-devel mailing list