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

1 Sep
2012
1 Sep
'12
12:24 a.m.
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.
4682
Age (days ago)
4682
Last active (days ago)
0 comments
1 participants
participants (1)
-
Mark Brown