lkml.org 
[lkml]   [2008]   [Dec]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [GIT]: Networking
Date
On Thursday 11 December 2008 7:50:23 am Geert Uytterhoeven wrote:
> On Mon, 8 Dec 2008, David Miller wrote:
> > Here are the pending net fixes:
> >
> > 6) netlabel OOPS'er fix from Paul Moore.
> >
> > Paul Moore (1):
> > netlabel: Fix a potential NULL pointer dereference
>
> This introduced:
> | net/netlabel/netlabel_unlabeled.c:567: warning: 'entry' may be used
> | uninitialized in this function
> | net/netlabel/netlabel_unlabeled.c:629: warning: 'entry' may be used
> | uninitialized in this function
>
> which may still oops, if the uninitialized entry pointer is
> dereferenced (in case list_entry == NULL).

Hi Geert,

First of, a quick question: what version of gcc are you using? I'm
using gcc-4.3.2 and I don't get this warning/error. Regardless, I'll
send out a patch later today which should resolve the warning.

--
paul moore
linux @ hp


\
 
 \ /
  Last update: 2008-12-11 14:23    [W:0.092 / U:0.172 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site