Re: [GIT]: Networking

Paul Moore
2008-12-11T13:21:20Z

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