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.
--
To
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.
--
To unsubscribe from
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
---
sound/soc/spear/spear_pcm.c |2 +-
1 files changed, 1
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.li...@gmail.com
---
sound/soc/spear/spear_pcm.c |2 +-
1 files
4 matches
Mail list logo