lkml.org 
[lkml]   [2006]   [Mar]   [16]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateWed, 15 Mar 2006 21:24:59 -0800
From"Randy.Dunlap" <>
SubjectRe: Fix gus_pcm dereference before NULL
On Thu, 16 Mar 2006 10:00:07 +0800 Eugene Teo wrote:

> substream is dereferenced before checking for NULL.
> 
> Coverity bug #861
> 
> Signed-off-by: Eugene Teo <eugene.teo@eugeneteo.net>
> 
> --- linux-2.6/sound/isa/gus/gus_pcm.c~	2006-03-15 10:05:45.000000000 +0800
> +++ linux-2.6/sound/isa/gus/gus_pcm.c	2006-03-16 09:51:43.000000000 +0800
> @@ -103,8 +103,8 @@

BTW, please use "-p" diff option so that the "@@" sections
include function or struct names etc.  I.e., be nice to patch
readers/reviewers.  :)

---
~Randy
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2006-03-16 05:30    [from the cache]
©2003-2008