Re: [alsa-devel] [PATCH] ASoC: correct the check for NULL dma_buffer pointer
31 Aug
2012
31 Aug
'12
9:24 p.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.
4443
Age (days ago)
4443
Last active (days ago)
0 comments
1 participants
participants (1)
-
Mark Brown